Class: SeedList::Strategy::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/seed_list/strategy.rb

Direct Known Subclasses

Amateur, Knockout, MLGPlayoff, Playoff

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#playersObject

Returns the value of attribute players.



13
14
15
# File 'lib/seed_list/strategy.rb', line 13

def players
  @players
end

Instance Method Details

#seedObject



15
# File 'lib/seed_list/strategy.rb', line 15

def seed; raise 'Abstract method called'; end