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