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.
-
#target ⇒ Object
readonly
Returns the value of attribute target.
Instance Method Summary collapse
-
#initialize(hash) ⇒ DataConfig
constructor
A new instance of DataConfig.
Constructor Details
#initialize(hash) ⇒ DataConfig
Returns a new instance of DataConfig.
102 103 104 105 106 |
# File 'lib/ccios/config.rb', line 102 def initialize(hash) @project = hash["project"] @target = hash["target"] @repository = ObjectConfig.new hash["repository"] end |
Instance Attribute Details
#project ⇒ Object (readonly)
Returns the value of attribute project.
100 101 102 |
# File 'lib/ccios/config.rb', line 100 def project @project end |
#repository ⇒ Object (readonly)
Returns the value of attribute repository.
100 101 102 |
# File 'lib/ccios/config.rb', line 100 def repository @repository end |
#target ⇒ Object (readonly)
Returns the value of attribute target.
100 101 102 |
# File 'lib/ccios/config.rb', line 100 def target @target end |