class NbaRb::Player::InGameSplits
Public Instance Methods
by_actual_margin()
click to toggle source
# File lib/nba_rb/player/in_game_splits.rb, line 50 def by_actual_margin create_stats_hash(@data[4]) end
by_half()
click to toggle source
# File lib/nba_rb/player/in_game_splits.rb, line 6 def by_half create_stats_hash(@data[1]) end
by_period()
click to toggle source
# File lib/nba_rb/player/in_game_splits.rb, line 18 def by_period create_stats_hash(@data[2]) end
by_score_margin()
click to toggle source
# File lib/nba_rb/player/in_game_splits.rb, line 38 def by_score_margin create_stats_hash(@data[3]) end
close_games()
click to toggle source
# File lib/nba_rb/player/in_game_splits.rb, line 46 def close_games by_score_margin[1] end
first_half()
click to toggle source
# File lib/nba_rb/player/in_game_splits.rb, line 10 def first_half by_half[0] end
first_quarter()
click to toggle source
# File lib/nba_rb/player/in_game_splits.rb, line 22 def first_quarter by_period[0] end
fourth_quarter()
click to toggle source
# File lib/nba_rb/player/in_game_splits.rb, line 34 def fourth_quarter by_period[3] end
second_half()
click to toggle source
# File lib/nba_rb/player/in_game_splits.rb, line 14 def second_half by_half[1] end
second_quarter()
click to toggle source
# File lib/nba_rb/player/in_game_splits.rb, line 26 def second_quarter by_period[1] end
third_quarter()
click to toggle source
# File lib/nba_rb/player/in_game_splits.rb, line 30 def third_quarter by_period[2] end
tied_games()
click to toggle source
# File lib/nba_rb/player/in_game_splits.rb, line 42 def tied_games by_score_margin[0] end