Class: MLB::PlayMatchup
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- MLB::PlayMatchup
- Defined in:
- lib/mlb/play.rb
Overview
Represents the matchup during a play
Instance Attribute Summary collapse
-
#bat_side ⇒ Handedness
Returns the bat side.
-
#batter ⇒ Player
Returns the batter.
-
#pitch_hand ⇒ Handedness
Returns the pitch hand.
-
#pitcher ⇒ Player
Returns the pitcher.
Instance Attribute Details
#bat_side ⇒ Handedness
Returns the bat side
233 |
# File 'lib/mlb/play.rb', line 233 attribute :bat_side, Handedness |
#batter ⇒ Player
Returns the batter
225 |
# File 'lib/mlb/play.rb', line 225 attribute :batter, Player |
#pitch_hand ⇒ Handedness
Returns the pitch hand
249 |
# File 'lib/mlb/play.rb', line 249 attribute :pitch_hand, Handedness |