Class: MLB::Season
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- MLB::Season
- Includes:
- Comparable, ComparableByAttribute
- Defined in:
- lib/mlb/season.rb
Overview
Represents a season
Instance Method Summary collapse
-
#comparable_attribute ⇒ Symbol
private
Returns the attribute used for sorting.
Methods included from ComparableByAttribute
Instance Method Details
#comparable_attribute ⇒ Symbol
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns the attribute used for sorting
18 |
# File 'lib/mlb/season.rb', line 18 def comparable_attribute = :id |