Class: GhaConfig::Config
- Inherits:
-
Object
- Object
- GhaConfig::Config
- Defined in:
- lib/gha_config/config.rb
Instance Attribute Summary collapse
-
#defaults ⇒ Object
Returns the value of attribute defaults.
-
#env ⇒ Object
Returns the value of attribute env.
-
#options ⇒ Object
Returns the value of attribute options.
-
#parsed_config ⇒ Object
Returns the value of attribute parsed_config.
-
#variables ⇒ Object
Returns the value of attribute variables.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
9 10 11 12 13 14 15 |
# File 'lib/gha_config/config.rb', line 9 def initialize @env = {} @defaults = [] @parsed_config = {} @options = {} @variables = {} end |
Instance Attribute Details
#defaults ⇒ Object
Returns the value of attribute defaults.
3 4 5 |
# File 'lib/gha_config/config.rb', line 3 def defaults @defaults end |
#env ⇒ Object
Returns the value of attribute env.
4 5 6 |
# File 'lib/gha_config/config.rb', line 4 def env @env end |
#options ⇒ Object
Returns the value of attribute options.
6 7 8 |
# File 'lib/gha_config/config.rb', line 6 def @options end |
#parsed_config ⇒ Object
Returns the value of attribute parsed_config.
5 6 7 |
# File 'lib/gha_config/config.rb', line 5 def parsed_config @parsed_config end |
#variables ⇒ Object
Returns the value of attribute variables.
7 8 9 |
# File 'lib/gha_config/config.rb', line 7 def variables @variables end |