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
.logger ⇒ Object
rubocop:disable Lint/DuplicateMethods
11
12
13
|
# File 'lib/water_wheel.rb', line 11
def logger
@logger
end
|
Class Method Details
.configuration ⇒ Object
19
20
21
|
# File 'lib/water_wheel.rb', line 19
def self.configuration
@configuration ||= Configuration.new
end
|
27
28
29
|
# File 'lib/water_wheel.rb', line 27
def self.configure
yield(configuration)
end
|
.reset ⇒ Object
23
24
25
|
# File 'lib/water_wheel.rb', line 23
def self.reset
@configuration = Configuration.new
end
|