Class: MLB::PlayerGamePitchingStats
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- MLB::PlayerGamePitchingStats
- Defined in:
- lib/mlb/player_game_stats.rb
Overview
Represents a player’s pitching stats for a game
Instance Attribute Summary collapse
-
#base_on_balls ⇒ Integer
Returns walks.
-
#earned_runs ⇒ Integer
Returns earned runs.
-
#games_played ⇒ Integer
Returns games played.
-
#games_started ⇒ Integer
Returns games started.
-
#hits ⇒ Integer
Returns hits allowed.
-
#home_runs ⇒ Integer
Returns home runs allowed.
-
#innings_pitched ⇒ String
Returns innings pitched.
-
#losses ⇒ Integer
Returns losses.
-
#number_of_pitches ⇒ Integer
Returns pitch count.
-
#runs ⇒ Integer
Returns runs allowed.
-
#saves ⇒ Integer
Returns saves.
-
#strike_outs ⇒ Integer
Returns strikeouts.
-
#wins ⇒ Integer
Returns wins.
Instance Attribute Details
#base_on_balls ⇒ Integer
Returns walks
199 |
# File 'lib/mlb/player_game_stats.rb', line 199 attribute :base_on_balls, Shale::Type::Integer |
#earned_runs ⇒ Integer
Returns earned runs
183 |
# File 'lib/mlb/player_game_stats.rb', line 183 attribute :earned_runs, Shale::Type::Integer |
#games_played ⇒ Integer
Returns games played
119 |
# File 'lib/mlb/player_game_stats.rb', line 119 attribute :games_played, Shale::Type::Integer |
#games_started ⇒ Integer
Returns games started
127 |
# File 'lib/mlb/player_game_stats.rb', line 127 attribute :games_started, Shale::Type::Integer |
#hits ⇒ Integer
Returns hits allowed
167 |
# File 'lib/mlb/player_game_stats.rb', line 167 attribute :hits, Shale::Type::Integer |
#home_runs ⇒ Integer
Returns home runs allowed
191 |
# File 'lib/mlb/player_game_stats.rb', line 191 attribute :home_runs, Shale::Type::Integer |
#innings_pitched ⇒ String
Returns innings pitched
159 |
# File 'lib/mlb/player_game_stats.rb', line 159 attribute :innings_pitched, Shale::Type::String |
#losses ⇒ Integer
Returns losses
143 |
# File 'lib/mlb/player_game_stats.rb', line 143 attribute :losses, Shale::Type::Integer |
#number_of_pitches ⇒ Integer
Returns pitch count
215 |
# File 'lib/mlb/player_game_stats.rb', line 215 attribute :number_of_pitches, Shale::Type::Integer |
#runs ⇒ Integer
Returns runs allowed
175 |
# File 'lib/mlb/player_game_stats.rb', line 175 attribute :runs, Shale::Type::Integer |
#saves ⇒ Integer
Returns saves
151 |
# File 'lib/mlb/player_game_stats.rb', line 151 attribute :saves, Shale::Type::Integer |
#strike_outs ⇒ Integer
Returns strikeouts
207 |
# File 'lib/mlb/player_game_stats.rb', line 207 attribute :strike_outs, Shale::Type::Integer |
#wins ⇒ Integer
Returns wins
135 |
# File 'lib/mlb/player_game_stats.rb', line 135 attribute :wins, Shale::Type::Integer |