Class: Population::Configuration
- Inherits:
-
Object
- Object
- Population::Configuration
- Defined in:
- lib/population/configuration.rb
Instance Attribute Summary collapse
-
#populations ⇒ Object
readonly
Returns the value of attribute populations.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 |
# File 'lib/population/configuration.rb', line 5 def initialize @populations = {} end |
Instance Attribute Details
#populations ⇒ Object (readonly)
Returns the value of attribute populations.
3 4 5 |
# File 'lib/population/configuration.rb', line 3 def populations @populations end |