Class: AppConfig
- Inherits:
-
Object
- Object
- AppConfig
- Defined in:
- lib/ccios/config.rb
Instance Attribute Summary collapse
-
#coordinator ⇒ Object
readonly
Returns the value of attribute coordinator.
-
#presenter ⇒ Object
readonly
Returns the value of attribute presenter.
-
#project ⇒ Object
readonly
Returns the value of attribute project.
Instance Method Summary collapse
-
#initialize(hash) ⇒ AppConfig
constructor
A new instance of AppConfig.
Constructor Details
#initialize(hash) ⇒ AppConfig
Returns a new instance of AppConfig.
80 81 82 83 84 |
# File 'lib/ccios/config.rb', line 80 def initialize(hash) @project = hash["project"] @presenter = ObjectConfig.new hash["presenter"] @coordinator = ObjectConfig.new hash["coordinator"] end |
Instance Attribute Details
#coordinator ⇒ Object (readonly)
Returns the value of attribute coordinator.
78 79 80 |
# File 'lib/ccios/config.rb', line 78 def coordinator @coordinator end |
#presenter ⇒ Object (readonly)
Returns the value of attribute presenter.
78 79 80 |
# File 'lib/ccios/config.rb', line 78 def presenter @presenter end |
#project ⇒ Object (readonly)
Returns the value of attribute project.
78 79 80 |
# File 'lib/ccios/config.rb', line 78 def project @project end |