Class: MLB::TeamStatGroup

Inherits:
Shale::Mapper
  • Object
show all
Defined in:
lib/mlb/team_stats.rb

Overview

Represents a stat type group

Instance Attribute Summary collapse

Instance Attribute Details

#splitsArray<TeamStat>

Returns the stat splits

Examples:

group.splits #=> [#<MLB::TeamStat>, ...]

Returns:



13
# File 'lib/mlb/team_stats.rb', line 13

attribute :splits, TeamStat, collection: true