Class: MLB::PlayerGameStatGroup
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- MLB::PlayerGameStatGroup
- Defined in:
- lib/mlb/player_game_stats.rb
Overview
Represents a stat group for a player’s game
Instance Attribute Summary collapse
-
#group ⇒ String
Returns the stat group name.
-
#splits ⇒ Array<PlayerGameStatSplit>
Returns the stat splits.
Instance Attribute Details
#group ⇒ String
Returns the stat group name
275 |
# File 'lib/mlb/player_game_stats.rb', line 275 attribute :group, Shale::Type::String |
#splits ⇒ Array<PlayerGameStatSplit>
Returns the stat splits
283 |
# File 'lib/mlb/player_game_stats.rb', line 283 attribute :splits, PlayerGameStatSplit, collection: true |