Class: MLB::TeamLeader
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- MLB::TeamLeader
- Defined in:
- lib/mlb/team_leader.rb
Overview
Represents a team leader entry
Instance Attribute Summary collapse
-
#person ⇒ Player
Returns the player.
-
#rank ⇒ Integer
Returns the leader’s rank.
-
#season ⇒ String
Returns the season.
-
#team ⇒ Team
Returns the team.
-
#value ⇒ String
Returns the stat value.
Instance Attribute Details
#person ⇒ Player
Returns the player
33 |
# File 'lib/mlb/team_leader.rb', line 33 attribute :person, Player |
#rank ⇒ Integer
Returns the leader’s rank
17 |
# File 'lib/mlb/team_leader.rb', line 17 attribute :rank, Shale::Type::Integer |
#season ⇒ String
Returns the season
49 |
# File 'lib/mlb/team_leader.rb', line 49 attribute :season, Shale::Type::String |
#value ⇒ String
Returns the stat value
25 |
# File 'lib/mlb/team_leader.rb', line 25 attribute :value, Shale::Type::String |