Parent

Methods

Tournament::Team

Represents a team in a tournament Bracket

Attributes

name[R]

(Not documented)

short_name[R]

(Not documented)

seed[R]

(Not documented)

Public Class Methods

new(name, short_name, seed) click to toggle source

(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

Public Instance Methods

==(other) click to toggle source

(Not documented)

    # 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
eql?(other) click to toggle source

(Not documented)

    # 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.