Class: CoreConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/ccios/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#interactorObject (readonly)

Returns the value of attribute interactor.



89
90
91
# File 'lib/ccios/config.rb', line 89

def interactor
  @interactor
end

#projectObject (readonly)

Returns the value of attribute project.



89
90
91
# File 'lib/ccios/config.rb', line 89

def project
  @project
end

#repositoryObject (readonly)

Returns the value of attribute repository.



89
90
91
# File 'lib/ccios/config.rb', line 89

def repository
  @repository
end

#targetObject (readonly)

Returns the value of attribute target.



89
90
91
# File 'lib/ccios/config.rb', line 89

def target
  @target
end