Class: MLB::DerbyMatchup
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- MLB::DerbyMatchup
- Defined in:
- lib/mlb/home_run_derby.rb
Overview
Represents a matchup in the derby round
Instance Attribute Summary collapse
-
#bottom_seed ⇒ DerbyBatter
Returns the bottom seed batter.
-
#matchup_id ⇒ Integer
Returns the matchup ID.
-
#top_seed ⇒ DerbyBatter
Returns the top seed batter.
Instance Attribute Details
#bottom_seed ⇒ DerbyBatter
Returns the bottom seed batter
181 |
# File 'lib/mlb/home_run_derby.rb', line 181 attribute :bottom_seed, DerbyBatter |
#matchup_id ⇒ Integer
Returns the matchup ID
165 |
# File 'lib/mlb/home_run_derby.rb', line 165 attribute :matchup_id, Shale::Type::Integer |
#top_seed ⇒ DerbyBatter
Returns the top seed batter
173 |
# File 'lib/mlb/home_run_derby.rb', line 173 attribute :top_seed, DerbyBatter |