Class: TWKB::Config
- Inherits:
-
Object
- Object
- TWKB::Config
- Defined in:
- lib/twkb/config.rb
Instance Attribute Summary collapse
-
#stage_names ⇒ Object
readonly
Returns the value of attribute stage_names.
-
#stages ⇒ Object
Returns the value of attribute stages.
Instance Method Summary collapse
- #[](val) ⇒ Object
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
8 9 10 11 12 |
# File 'lib/twkb/config.rb', line 8 def initialize read prepare build_stages end |
Instance Attribute Details
#stage_names ⇒ Object (readonly)
Returns the value of attribute stage_names.
5 6 7 |
# File 'lib/twkb/config.rb', line 5 def stage_names @stage_names end |
#stages ⇒ Object
Returns the value of attribute stages.
6 7 8 |
# File 'lib/twkb/config.rb', line 6 def stages @stages end |
Instance Method Details
#[](val) ⇒ Object
14 15 16 |
# File 'lib/twkb/config.rb', line 14 def [](val) @config[val] end |