Class: MLB::TeamStat
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- MLB::TeamStat
- Defined in:
- lib/mlb/team_stat.rb
Overview
Represents a team stat split
Instance Attribute Summary collapse
-
#rank ⇒ Integer
Returns the rank in the stat leaderboard.
-
#season ⇒ String
Returns the season for this stat split.
-
#stat ⇒ StatValues
Returns the stat values.
-
#team ⇒ Team
Returns the team.
Instance Attribute Details
#rank ⇒ Integer
Returns the rank in the stat leaderboard
41 |
# File 'lib/mlb/team_stat.rb', line 41 attribute :rank, Shale::Type::Integer |
#season ⇒ String
Returns the season for this stat split
17 |
# File 'lib/mlb/team_stat.rb', line 17 attribute :season, Shale::Type::String |
#stat ⇒ StatValues
Returns the stat values
25 |
# File 'lib/mlb/team_stat.rb', line 25 attribute :stat, StatValues |