Class: SeedList::Strategy::Base
- Inherits:
-
Object
- Object
- SeedList::Strategy::Base
- Defined in:
- lib/seed_list/strategy.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#players ⇒ Object
Returns the value of attribute players.
Instance Method Summary collapse
-
#initialize(players) ⇒ Base
constructor
A new instance of Base.
- #seed ⇒ Object
Constructor Details
#initialize(players) ⇒ Base
Returns a new instance of Base.
14 |
# File 'lib/seed_list/strategy.rb', line 14 def initialize(players); @players = players; end |
Instance Attribute Details
#players ⇒ Object
Returns the value of attribute players.
13 14 15 |
# File 'lib/seed_list/strategy.rb', line 13 def players @players end |
Instance Method Details
#seed ⇒ Object
15 |
# File 'lib/seed_list/strategy.rb', line 15 def seed; raise 'Abstract method called'; end |