Class: MLB::Sport

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

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object



27
28
29
# File 'lib/mlb/sport.rb', line 27

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