Class: MLB::Season

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

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object



59
60
61
# File 'lib/mlb/season.rb', line 59

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