Class: MLB::InningScore
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- MLB::InningScore
- Defined in:
- lib/mlb/inning_score.rb
Overview
Represents the score for one inning
Instance Attribute Summary collapse
-
#away ⇒ InningHalfScore
Returns the away team’s score.
-
#home ⇒ InningHalfScore
Returns the home team’s score.
-
#num ⇒ Integer
Returns the inning number.
-
#ordinal_num ⇒ String
Returns the ordinal inning number.
Instance Attribute Details
#away ⇒ InningHalfScore
Returns the away team’s score
78 |
# File 'lib/mlb/inning_score.rb', line 78 attribute :away, InningHalfScore |
#home ⇒ InningHalfScore
Returns the home team’s score
70 |
# File 'lib/mlb/inning_score.rb', line 70 attribute :home, InningHalfScore |
#num ⇒ Integer
Returns the inning number
54 |
# File 'lib/mlb/inning_score.rb', line 54 attribute :num, Shale::Type::Integer |
#ordinal_num ⇒ String
Returns the ordinal inning number
62 |
# File 'lib/mlb/inning_score.rb', line 62 attribute :ordinal_num, Shale::Type::String |