Class: Configuration::Configuration
- Inherits:
-
Object
- Object
- Configuration::Configuration
- Defined in:
- lib/configuration/configuration.rb
Overview
Root class for Configuration
Direct Known Subclasses
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#manager ⇒ Object
Returns the value of attribute manager.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
25 26 27 28 |
# File 'lib/configuration/configuration.rb', line 25 def initialize self.manager = ConfigurationManager.instance self.data = manager.configuration_data end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
23 24 25 |
# File 'lib/configuration/configuration.rb', line 23 def data @data end |
#manager ⇒ Object
Returns the value of attribute manager.
23 24 25 |
# File 'lib/configuration/configuration.rb', line 23 def manager @manager end |