Module: WaterWheel

Defined in:
lib/water_wheel.rb,
lib/water_wheel/backup.rb,
lib/water_wheel/version.rb,
lib/water_wheel/configuration.rb

Defined Under Namespace

Classes: Backup, Configuration

Constant Summary collapse

VERSION =
"0.2.1"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.loggerObject

rubocop:disable Lint/DuplicateMethods



11
12
13
# File 'lib/water_wheel.rb', line 11

def logger
  @logger
end

Class Method Details

.configurationObject



19
20
21
# File 'lib/water_wheel.rb', line 19

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



27
28
29
# File 'lib/water_wheel.rb', line 27

def self.configure
  yield(configuration)
end

.resetObject



23
24
25
# File 'lib/water_wheel.rb', line 23

def self.reset
  @configuration = Configuration.new
end