Class: MLB::DerbyRound
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- MLB::DerbyRound
- Defined in:
- lib/mlb/home_run_derby.rb
Overview
Represents a round in the derby
Instance Attribute Summary collapse
-
#matchups ⇒ Array<DerbyMatchup>
Returns the matchups.
-
#num_batters ⇒ Integer
Returns the number of batters.
-
#round ⇒ Integer
Returns the round number.
Instance Attribute Details
#matchups ⇒ Array<DerbyMatchup>
Returns the matchups
214 |
# File 'lib/mlb/home_run_derby.rb', line 214 attribute :matchups, DerbyMatchup, collection: true |
#num_batters ⇒ Integer
Returns the number of batters
206 |
# File 'lib/mlb/home_run_derby.rb', line 206 attribute :num_batters, Shale::Type::Integer |
#round ⇒ Integer
Returns the round number
198 |
# File 'lib/mlb/home_run_derby.rb', line 198 attribute :round, Shale::Type::Integer |