Class: MLB::League

Inherits:
Shale::Mapper
  • Object
show all
Includes:
Comparable
Defined in:
lib/mlb/league.rb

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object



64
65
66
# File 'lib/mlb/league.rb', line 64

def <=>(other)
  sort_order <=> other.sort_order
end