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.



101
102
103
104
105
106
# File 'lib/ccios/config.rb', line 101

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.



99
100
101
# File 'lib/ccios/config.rb', line 99

def interactor
  @interactor
end

#projectObject (readonly)

Returns the value of attribute project.



99
100
101
# File 'lib/ccios/config.rb', line 99

def project
  @project
end

#repositoryObject (readonly)

Returns the value of attribute repository.



99
100
101
# File 'lib/ccios/config.rb', line 99

def repository
  @repository
end

#targetObject (readonly)

Returns the value of attribute target.



99
100
101
# File 'lib/ccios/config.rb', line 99

def target
  @target
end