Module: Snapback

Defined in:
lib/snapback.rb,
lib/snapback/version.rb,
lib/snapback/filesystem.rb,
lib/snapback/transaction.rb,
lib/snapback/configuration_loader.rb,
lib/snapback/mysql/client_control.rb,
lib/snapback/mysql/service_control.rb,
lib/snapback/configuration/Configuration_0_0_3.rb

Overview

Command

Defined Under Namespace

Modules: Configuration, MySQL Classes: ConfigurationLoader, Filesystem, Transaction

Constant Summary collapse

VERSION =
'0.0.3'
@@verbose =
false

Class Method Summary collapse

Class Method Details

.quiet?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/snapback.rb', line 20

def self.quiet?
  @@verbose == true
end

.set_quietObject



12
13
14
# File 'lib/snapback.rb', line 12

def self.set_quiet
  @@verbose = true
end

.set_verboseObject



16
17
18
# File 'lib/snapback.rb', line 16

def self.set_verbose
  @@verbose = false
end

.verbose?Boolean

Returns:

  • (Boolean)


24
25
26
# File 'lib/snapback.rb', line 24

def self.verbose?
  @@verbose == false
end