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,
lib/humidifier/reservoir/parameter_list.rb

Overview

The parent module for Reservoir-related constants.

Defined Under Namespace

Modules: ParameterList Classes: BaseMapper, CLI, Config, Error, Mapping, Stack

Constant Summary collapse

VERSION =

The current version.

'0.4.0'.freeze

Class Method Summary collapse

Class Method Details

.configObject



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

def config
  @config ||= Config.new
end

.configure {|config| ... } ⇒ Object

Yields:



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

def configure
  yield config
end

.files_for(name) ⇒ Object



28
29
30
# File 'lib/humidifier/reservoir.rb', line 28

def files_for(name)
  config.files_for(name)
end

.mapping_for(type) ⇒ Object



32
33
34
# File 'lib/humidifier/reservoir.rb', line 32

def mapping_for(type)
  config.mapping_for(type)
end

.stack_prefixObject



36
37
38
# File 'lib/humidifier/reservoir.rb', line 36

def stack_prefix
  config.stack_prefix
end

.stacksObject



40
41
42
# File 'lib/humidifier/reservoir.rb', line 40

def stacks
  config.stacks
end