Module: Humidifier::Reservoir
- Defined in:
- lib/humidifier/reservoir.rb,
lib/humidifier/reservoir/cli.rb,
lib/humidifier/reservoir/error.rb,
lib/humidifier/reservoir/stack.rb,
lib/humidifier/reservoir/config.rb,
lib/humidifier/reservoir/mapping.rb,
lib/humidifier/reservoir/version.rb,
lib/humidifier/reservoir/base_mapper.rb
Overview
The parent module for Reservoir-related constants.
Defined Under Namespace
Classes: BaseMapper, CLI, Config, Error, Mapping, Stack
Constant Summary
- VERSION =
'0.1.0'.freeze
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
19
20
21
|
# File 'lib/humidifier/reservoir.rb', line 19
def config
@config ||= Config.new
end
|
23
24
25
|
# File 'lib/humidifier/reservoir.rb', line 23
def configure
yield config
end
|
.files_for(name) ⇒ Object
27
28
29
|
# File 'lib/humidifier/reservoir.rb', line 27
def files_for(name)
config.files_for(name)
end
|
.mapping_for(type) ⇒ Object
31
32
33
|
# File 'lib/humidifier/reservoir.rb', line 31
def mapping_for(type)
config.mapping_for(type)
end
|
.stack_prefix ⇒ Object
35
36
37
|
# File 'lib/humidifier/reservoir.rb', line 35
def stack_prefix
config.stack_prefix
end
|
.stacks ⇒ Object
39
40
41
|
# File 'lib/humidifier/reservoir.rb', line 39
def stacks
config.stacks
end
|