Class: AppConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hash) ⇒ AppConfig

Returns a new instance of AppConfig.



80
81
82
83
84
# File 'lib/ccios/config.rb', line 80

def initialize(hash)
  @project = hash["project"]
  @presenter = ObjectConfig.new hash["presenter"]
  @coordinator = ObjectConfig.new hash["coordinator"]
end

Instance Attribute Details

#coordinatorObject (readonly)

Returns the value of attribute coordinator.



78
79
80
# File 'lib/ccios/config.rb', line 78

def coordinator
  @coordinator
end

#presenterObject (readonly)

Returns the value of attribute presenter.



78
79
80
# File 'lib/ccios/config.rb', line 78

def presenter
  @presenter
end

#projectObject (readonly)

Returns the value of attribute project.



78
79
80
# File 'lib/ccios/config.rb', line 78

def project
  @project
end