Class: MLB::PlayCount
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- MLB::PlayCount
- Defined in:
- lib/mlb/play.rb
Overview
Represents the count during a play
Instance Attribute Summary collapse
-
#balls ⇒ Integer
Returns the ball count.
-
#outs ⇒ Integer
Returns the out count.
-
#strikes ⇒ Integer
Returns the strike count.
Instance Attribute Details
#balls ⇒ Integer
Returns the ball count
192 |
# File 'lib/mlb/play.rb', line 192 attribute :balls, Shale::Type::Integer |
#outs ⇒ Integer
Returns the out count
208 |
# File 'lib/mlb/play.rb', line 208 attribute :outs, Shale::Type::Integer |
#strikes ⇒ Integer
Returns the strike count
200 |
# File 'lib/mlb/play.rb', line 200 attribute :strikes, Shale::Type::Integer |