Class: Colonization::Configuration
- Inherits:
-
Object
- Object
- Colonization::Configuration
- Defined in:
- lib/colonization/configuration.rb
Instance Attribute Summary collapse
-
#clear_table ⇒ Object
Returns the value of attribute clear_table.
-
#count_of_instances_to_seed ⇒ Object
Returns the value of attribute count_of_instances_to_seed.
-
#seed_index ⇒ Object
Returns the value of attribute seed_index.
-
#seed_type ⇒ Object
Returns the value of attribute seed_type.
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 8 9 10 |
# File 'lib/colonization/configuration.rb', line 5 def initialize @seed_type = :default @seed_index = 3 @count_of_instances_to_seed = 100 @clear_table = true end |
Instance Attribute Details
#clear_table ⇒ Object
Returns the value of attribute clear_table.
3 4 5 |
# File 'lib/colonization/configuration.rb', line 3 def clear_table @clear_table end |
#count_of_instances_to_seed ⇒ Object
Returns the value of attribute count_of_instances_to_seed.
3 4 5 |
# File 'lib/colonization/configuration.rb', line 3 def count_of_instances_to_seed @count_of_instances_to_seed end |
#seed_index ⇒ Object
Returns the value of attribute seed_index.
3 4 5 |
# File 'lib/colonization/configuration.rb', line 3 def seed_index @seed_index end |
#seed_type ⇒ Object
Returns the value of attribute seed_type.
3 4 5 |
# File 'lib/colonization/configuration.rb', line 3 def seed_type @seed_type end |