Class: MLB::Play
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- MLB::Play
- Defined in:
- lib/mlb/play.rb
Overview
Represents a play in a game
Instance Attribute Summary collapse
-
#about ⇒ PlayAbout
Returns the play info.
-
#count ⇒ PlayCount
Returns the count.
-
#matchup ⇒ PlayMatchup
Returns the matchup.
-
#result ⇒ PlayResult
Returns the play result.
Instance Attribute Details
#about ⇒ PlayAbout
Returns the play info
275 |
# File 'lib/mlb/play.rb', line 275 attribute :about, PlayAbout |
#count ⇒ PlayCount
Returns the count
283 |
# File 'lib/mlb/play.rb', line 283 attribute :count, PlayCount |
#matchup ⇒ PlayMatchup
Returns the matchup
291 |
# File 'lib/mlb/play.rb', line 291 attribute :matchup, PlayMatchup |
#result ⇒ PlayResult
Returns the play result
267 |
# File 'lib/mlb/play.rb', line 267 attribute :result, PlayResult |