Class: Kumo::Config
- Inherits:
-
Object
- Object
- Kumo::Config
- Defined in:
- lib/kumo/config.rb
Overview
Configuration for EC2
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
-
#initialize(config_file_path, options = {}, sets = []) ⇒ Config
constructor
New configuration.
Constructor Details
#initialize(config_file_path, options = {}, sets = []) ⇒ Config
New configuration
config_file_path
-
configuration file path (YAML)
options
-
instance options
sets
-
configuration sets (applied in order)
13 14 15 16 17 18 |
# File 'lib/kumo/config.rb', line 13 def initialize(config_file_path, = {}, sets = []) set_default_config merge_config_file(config_file_path, sets) merge_extra_config() validate_config end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
6 7 8 |
# File 'lib/kumo/config.rb', line 6 def config @config end |