Object
Holds information about an Tournament::Entry’s possibilities for remaining games in a tournament.
(Not documented)
# File lib/tournament/possibility.rb, line 7 7: def initialize(entry) 8: @times_champ = 0 9: @max_score = 0 10: @min_rank = 1_000_000_000 11: @champs = {} 12: @entry = entry 13: end
# File lib/tournament/possibility.rb, line 14 14: def <=>(other) 15: (other.times_champ <=> self.times_champ).nonzero? || 16: (self.min_rank <=> other.min_rank).nonzero? || 17: other.max_score <=> self.max_score 18: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.