Class: DataConfig
- Inherits:
-
Object
- Object
- DataConfig
- Defined in:
- lib/ccios/config.rb
Instance Attribute Summary collapse
-
#project ⇒ Object
readonly
Returns the value of attribute project.
-
#repository ⇒ Object
readonly
Returns the value of attribute repository.
Instance Method Summary collapse
-
#initialize(hash) ⇒ DataConfig
constructor
A new instance of DataConfig.
Constructor Details
#initialize(hash) ⇒ DataConfig
Returns a new instance of DataConfig.
100 101 102 103 |
# File 'lib/ccios/config.rb', line 100 def initialize(hash) @project = hash["project"] @repository = ObjectConfig.new hash["repository"] end |
Instance Attribute Details
#project ⇒ Object (readonly)
Returns the value of attribute project.
98 99 100 |
# File 'lib/ccios/config.rb', line 98 def project @project end |
#repository ⇒ Object (readonly)
Returns the value of attribute repository.
98 99 100 |
# File 'lib/ccios/config.rb', line 98 def repository @repository end |