Object
Represents a team in a tournament Bracket
(Not documented)
# File lib/tournament/team.rb, line 5 5: def initialize(name, short_name, seed) 6: @name = name 7: @short_name = short_name 8: @seed = seed 9: end
# File lib/tournament/team.rb, line 11 11: def ==(other) 12: return false unless Tournament::Team === other 13: @name == other.name && @short_name == other.short_name && @seed == other.seed 14: end
# File lib/tournament/team.rb, line 16 16: def eql?(other) 17: @name.eql?(other) 18: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.