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.
-
#target ⇒ Object
readonly
Returns the value of attribute target.
Instance Method Summary collapse
-
#initialize(hash) ⇒ AppConfig
constructor
A new instance of AppConfig.
Constructor Details
#initialize(hash) ⇒ AppConfig
Returns a new instance of AppConfig.
90 91 92 93 94 95 |
# File 'lib/ccios/config.rb', line 90 def initialize(hash) @project = hash["project"] @target = hash["target"] @presenter = ObjectConfig.new hash["presenter"] @coordinator = ObjectConfig.new hash["coordinator"] end |
Instance Attribute Details
#coordinator ⇒ Object (readonly)
Returns the value of attribute coordinator.
88 89 90 |
# File 'lib/ccios/config.rb', line 88 def coordinator @coordinator end |
#presenter ⇒ Object (readonly)
Returns the value of attribute presenter.
88 89 90 |
# File 'lib/ccios/config.rb', line 88 def presenter @presenter end |
#project ⇒ Object (readonly)
Returns the value of attribute project.
88 89 90 |
# File 'lib/ccios/config.rb', line 88 def project @project end |
#target ⇒ Object (readonly)
Returns the value of attribute target.
88 89 90 |
# File 'lib/ccios/config.rb', line 88 def target @target end |