Class: Pal::Configuration::ConfigurationSource
- Inherits:
-
Object
- Object
- Pal::Configuration::ConfigurationSource
- Includes:
- Singleton
- Defined in:
- lib/pal/configuration.rb
Overview
Config storage source for access, stored as singleton.
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
68 69 70 |
# File 'lib/pal/configuration.rb', line 68 def config @config end |
Instance Method Details
#load_config(config) ⇒ Config
72 73 74 |
# File 'lib/pal/configuration.rb', line 72 def load_config(config) @config = config end |