Class: MLB::Division

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

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object



40
41
42
# File 'lib/mlb/division.rb', line 40

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