Class: NbaRb::Player::ClutchSplits
Instance Attribute Summary
Attributes inherited from Dashboard
#data, #date_from, #date_to, #game_segment, #last_n_games, #league_id, #location, #measure_type, #month, #opponent_team_id, #outcome, #pace_adjust, #per_mode, #period, #player_id, #plus_minus, #po_round, #rank, #season, #season_segment, #season_type, #shot_clock_range, #team_id, #vs_conference, #vs_division
Instance Method Summary
collapse
Methods inherited from Dashboard
#endpoint, #initialize, #overall
Methods included from StatsHash
#create_stats_hash
#stats_request
#initialize
Instance Method Details
#last10sec_deficit_3point ⇒ Object
34
35
36
37
38
39
|
# File 'lib/nba_rb/player/clutch_splits.rb', line 34
def last10sec_deficit_3point
''"
Results in last 5 minutes <= 5 points
"''
create_stats_hash(@data[5])
end
|
#last1min_deficit_5point ⇒ Object
20
21
22
23
24
25
|
# File 'lib/nba_rb/player/clutch_splits.rb', line 20
def last1min_deficit_5point
''"
Results in last 5 minutes <= 5 points
"''
create_stats_hash(@data[3])
end
|
#last1min_plusminus_5point ⇒ Object
55
56
57
58
59
60
|
# File 'lib/nba_rb/player/clutch_splits.rb', line 55
def last1min_plusminus_5point
''"
Last 1 minutes +/= 5 points
"''
create_stats_hash(@data[8])
end
|
#last30sec_deficit_3point ⇒ Object
27
28
29
30
31
32
|
# File 'lib/nba_rb/player/clutch_splits.rb', line 27
def last30sec_deficit_3point
''"
Results in last 5 minutes <= 5 points
"''
create_stats_hash(@data[4])
end
|
#last30sec_plusminus_5point ⇒ Object
62
63
64
65
66
67
|
# File 'lib/nba_rb/player/clutch_splits.rb', line 62
def last30sec_plusminus_5point
''"
Last 30 seconds +/= 3 points
"''
create_stats_hash(@data[9])
end
|
#last3min_deficit_5point ⇒ Object
13
14
15
16
17
18
|
# File 'lib/nba_rb/player/clutch_splits.rb', line 13
def last3min_deficit_5point
''"
Results in last 5 minutes <= 5 points
"''
create_stats_hash(@data[2])
end
|
#last3min_plusminus_5point ⇒ Object
48
49
50
51
52
53
|
# File 'lib/nba_rb/player/clutch_splits.rb', line 48
def last3min_plusminus_5point
''"
Last 3 minutes +/= 5 points
"''
create_stats_hash(@data[7])
end
|
#last5min_deficit_5point ⇒ Object
6
7
8
9
10
11
|
# File 'lib/nba_rb/player/clutch_splits.rb', line 6
def last5min_deficit_5point
''"
Results in last 5 minutes <= 5 points
"''
create_stats_hash(@data[1])
end
|
#last5min_plusminus_5point ⇒ Object
41
42
43
44
45
46
|
# File 'lib/nba_rb/player/clutch_splits.rb', line 41
def last5min_plusminus_5point
''"
Last 5 minutes +/= 5 points
"''
create_stats_hash(@data[6])
end
|