Class: MLB::BoxscorePitchingStats
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- MLB::BoxscorePitchingStats
- Defined in:
- lib/mlb/boxscore_team_stats.rb
Overview
Represents pitching statistics for a team in a boxscore
Instance Attribute Summary collapse
-
#base_on_balls ⇒ Integer
Returns walks.
-
#earned_runs ⇒ Integer
Returns earned runs allowed.
-
#era ⇒ String
Returns the earned run average.
-
#hits ⇒ Integer
Returns hits allowed.
-
#home_runs ⇒ Integer
Returns home runs allowed.
-
#innings_pitched ⇒ String
Returns innings pitched.
-
#runs ⇒ Integer
Returns runs allowed.
-
#strike_outs ⇒ Integer
Returns strikeouts.
Instance Attribute Details
#base_on_balls ⇒ Integer
Returns walks
157 |
# File 'lib/mlb/boxscore_team_stats.rb', line 157 attribute :base_on_balls, Shale::Type::Integer |
#earned_runs ⇒ Integer
Returns earned runs allowed
125 |
# File 'lib/mlb/boxscore_team_stats.rb', line 125 attribute :earned_runs, Shale::Type::Integer |
#era ⇒ String
Returns the earned run average
173 |
# File 'lib/mlb/boxscore_team_stats.rb', line 173 attribute :era, Shale::Type::String |
#hits ⇒ Integer
Returns hits allowed
133 |
# File 'lib/mlb/boxscore_team_stats.rb', line 133 attribute :hits, Shale::Type::Integer |
#home_runs ⇒ Integer
Returns home runs allowed
141 |
# File 'lib/mlb/boxscore_team_stats.rb', line 141 attribute :home_runs, Shale::Type::Integer |
#innings_pitched ⇒ String
Returns innings pitched
165 |
# File 'lib/mlb/boxscore_team_stats.rb', line 165 attribute :innings_pitched, Shale::Type::String |
#runs ⇒ Integer
Returns runs allowed
117 |
# File 'lib/mlb/boxscore_team_stats.rb', line 117 attribute :runs, Shale::Type::Integer |
#strike_outs ⇒ Integer
Returns strikeouts
149 |
# File 'lib/mlb/boxscore_team_stats.rb', line 149 attribute :strike_outs, Shale::Type::Integer |