Class: MLB::InningHalfScore
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- MLB::InningHalfScore
- Defined in:
- lib/mlb/inning_score.rb
Overview
Represents the score for one side of an inning
Instance Attribute Summary collapse
-
#errors ⇒ Integer
Returns the errors.
-
#hits ⇒ Integer
Returns the hits.
-
#left_on_base ⇒ Integer
Returns runners left on base.
-
#runs ⇒ Integer
Returns the runs scored.
Instance Attribute Details
#errors ⇒ Integer
Returns the errors
28 |
# File 'lib/mlb/inning_score.rb', line 28 attribute :errors, Shale::Type::Integer |
#hits ⇒ Integer
Returns the hits
20 |
# File 'lib/mlb/inning_score.rb', line 20 attribute :hits, Shale::Type::Integer |
#left_on_base ⇒ Integer
Returns runners left on base
36 |
# File 'lib/mlb/inning_score.rb', line 36 attribute :left_on_base, Shale::Type::Integer |
#runs ⇒ Integer
Returns the runs scored
12 |
# File 'lib/mlb/inning_score.rb', line 12 attribute :runs, Shale::Type::Integer |