Class: NBA::LeagueHustleStatsPlayerStat
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- NBA::LeagueHustleStatsPlayerStat
- Defined in:
- lib/nba/league_hustle_stats_player_stat.rb
Overview
Represents league-wide hustle statistics for a player
Instance Attribute Summary collapse
-
#age ⇒ Integer
Returns the player’s age.
-
#box_out_player_rebs ⇒ Integer
Returns player rebounds from box outs.
-
#box_out_player_team_rebs ⇒ Integer
Returns team rebounds from player box outs.
-
#box_outs ⇒ Integer
Returns total box outs.
-
#charges_drawn ⇒ Integer
Returns charges drawn.
-
#contested_shots ⇒ Integer
Returns contested shots.
-
#contested_shots_2pt ⇒ Integer
Returns contested 2-point shots.
-
#contested_shots_3pt ⇒ Integer
Returns contested 3-point shots.
-
#def_boxouts ⇒ Integer
Returns defensive box outs.
-
#def_loose_balls_recovered ⇒ Integer
Returns defensive loose balls recovered.
-
#deflections ⇒ Integer
Returns deflections.
-
#g ⇒ Integer
Returns games played.
-
#loose_balls_recovered ⇒ Integer
Returns total loose balls recovered.
-
#min ⇒ Float
Returns total minutes played.
-
#off_boxouts ⇒ Integer
Returns offensive box outs.
-
#off_loose_balls_recovered ⇒ Integer
Returns offensive loose balls recovered.
-
#pct_box_outs_def ⇒ Float
Returns percentage of defensive box outs.
-
#pct_box_outs_off ⇒ Float
Returns percentage of offensive box outs.
-
#pct_box_outs_reb ⇒ Float
Returns percentage of box outs resulting in player rebounds.
-
#pct_box_outs_team_reb ⇒ Float
Returns percentage of box outs resulting in team rebounds.
-
#pct_loose_balls_recovered_def ⇒ Float
Returns percentage of defensive loose balls recovered.
-
#pct_loose_balls_recovered_off ⇒ Float
Returns percentage of offensive loose balls recovered.
-
#player_id ⇒ Integer
Returns the player ID.
-
#player_name ⇒ String
Returns the player name.
-
#screen_assists ⇒ Integer
Returns screen assists.
-
#screen_ast_pts ⇒ Integer
Returns points from screen assists.
-
#team_abbreviation ⇒ String
Returns the team abbreviation.
-
#team_id ⇒ Integer
Returns the team ID.
Instance Method Summary collapse
-
#player ⇒ Player?
Returns the player object.
-
#team ⇒ Team?
Returns the team object.
Instance Attribute Details
#age ⇒ Integer
Returns the player’s age
47 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 47 attribute :age, Shale::Type::Integer |
#box_out_player_rebs ⇒ Integer
Returns player rebounds from box outs
191 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 191 attribute :box_out_player_rebs, Shale::Type::Integer |
#box_out_player_team_rebs ⇒ Integer
Returns team rebounds from player box outs
183 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 183 attribute :box_out_player_team_rebs, Shale::Type::Integer |
#box_outs ⇒ Integer
Returns total box outs
199 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 199 attribute :box_outs, Shale::Type::Integer |
#charges_drawn ⇒ Integer
Returns charges drawn
103 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 103 attribute :charges_drawn, Shale::Type::Integer |
#contested_shots ⇒ Integer
Returns contested shots
71 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 71 attribute :contested_shots, Shale::Type::Integer |
#contested_shots_2pt ⇒ Integer
Returns contested 2-point shots
79 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 79 attribute :contested_shots_2pt, Shale::Type::Integer |
#contested_shots_3pt ⇒ Integer
Returns contested 3-point shots
87 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 87 attribute :contested_shots_3pt, Shale::Type::Integer |
#def_boxouts ⇒ Integer
Returns defensive box outs
175 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 175 attribute :def_boxouts, Shale::Type::Integer |
#def_loose_balls_recovered ⇒ Integer
Returns defensive loose balls recovered
135 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 135 attribute :def_loose_balls_recovered, Shale::Type::Integer |
#deflections ⇒ Integer
Returns deflections
95 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 95 attribute :deflections, Shale::Type::Integer |
#g ⇒ Integer
Returns games played
55 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 55 attribute :g, Shale::Type::Integer |
#loose_balls_recovered ⇒ Integer
Returns total loose balls recovered
143 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 143 attribute :loose_balls_recovered, Shale::Type::Integer |
#min ⇒ Float
Returns total minutes played
63 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 63 attribute :min, Shale::Type::Float |
#off_boxouts ⇒ Integer
Returns offensive box outs
167 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 167 attribute :off_boxouts, Shale::Type::Integer |
#off_loose_balls_recovered ⇒ Integer
Returns offensive loose balls recovered
127 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 127 attribute :off_loose_balls_recovered, Shale::Type::Integer |
#pct_box_outs_def ⇒ Float
Returns percentage of defensive box outs
215 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 215 attribute :pct_box_outs_def, Shale::Type::Float |
#pct_box_outs_off ⇒ Float
Returns percentage of offensive box outs
207 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 207 attribute :pct_box_outs_off, Shale::Type::Float |
#pct_box_outs_reb ⇒ Float
Returns percentage of box outs resulting in player rebounds
231 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 231 attribute :pct_box_outs_reb, Shale::Type::Float |
#pct_box_outs_team_reb ⇒ Float
Returns percentage of box outs resulting in team rebounds
223 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 223 attribute :pct_box_outs_team_reb, Shale::Type::Float |
#pct_loose_balls_recovered_def ⇒ Float
Returns percentage of defensive loose balls recovered
159 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 159 attribute :pct_loose_balls_recovered_def, Shale::Type::Float |
#pct_loose_balls_recovered_off ⇒ Float
Returns percentage of offensive loose balls recovered
151 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 151 attribute :pct_loose_balls_recovered_off, Shale::Type::Float |
#player_id ⇒ Integer
Returns the player ID
15 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 15 attribute :player_id, Shale::Type::Integer |
#player_name ⇒ String
Returns the player name
23 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 23 attribute :player_name, Shale::Type::String |
#screen_assists ⇒ Integer
Returns screen assists
111 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 111 attribute :screen_assists, Shale::Type::Integer |
#screen_ast_pts ⇒ Integer
Returns points from screen assists
119 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 119 attribute :screen_ast_pts, Shale::Type::Integer |
#team_abbreviation ⇒ String
Returns the team abbreviation
39 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 39 attribute :team_abbreviation, Shale::Type::String |
#team_id ⇒ Integer
Returns the team ID
31 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 31 attribute :team_id, Shale::Type::Integer |
Instance Method Details
#player ⇒ Player?
Returns the player object
239 240 241 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 239 def player Players.find(player_id) end |
#team ⇒ Team?
Returns the team object
249 250 251 |
# File 'lib/nba/league_hustle_stats_player_stat.rb', line 249 def team Teams.find(team_id) end |