Class: CoreConfig
- Inherits:
-
Object
- Object
- CoreConfig
- Defined in:
- lib/ccios/config.rb
Instance Attribute Summary collapse
-
#interactor ⇒ Object
readonly
Returns the value of attribute interactor.
-
#project ⇒ Object
readonly
Returns the value of attribute project.
-
#repository ⇒ Object
readonly
Returns the value of attribute repository.
-
#target ⇒ Object
readonly
Returns the value of attribute target.
Instance Method Summary collapse
-
#initialize(hash) ⇒ CoreConfig
constructor
A new instance of CoreConfig.
Constructor Details
#initialize(hash) ⇒ CoreConfig
Returns a new instance of CoreConfig.
91 92 93 94 95 96 |
# File 'lib/ccios/config.rb', line 91 def initialize(hash) @project = hash["project"] @target = hash["target"] @interactor = ObjectConfig.new hash["interactor"] @repository = ObjectConfig.new hash["repository"] end |
Instance Attribute Details
#interactor ⇒ Object (readonly)
Returns the value of attribute interactor.
89 90 91 |
# File 'lib/ccios/config.rb', line 89 def interactor @interactor end |
#project ⇒ Object (readonly)
Returns the value of attribute project.
89 90 91 |
# File 'lib/ccios/config.rb', line 89 def project @project end |
#repository ⇒ Object (readonly)
Returns the value of attribute repository.
89 90 91 |
# File 'lib/ccios/config.rb', line 89 def repository @repository end |
#target ⇒ Object (readonly)
Returns the value of attribute target.
89 90 91 |
# File 'lib/ccios/config.rb', line 89 def target @target end |