Class: Population::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/population/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



5
6
7
# File 'lib/population/configuration.rb', line 5

def initialize
  @populations = {}
end

Instance Attribute Details

#populationsObject (readonly)

Returns the value of attribute populations.



3
4
5
# File 'lib/population/configuration.rb', line 3

def populations
  @populations
end