Class: NBA::LeagueHustleStatsTeamStat
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- NBA::LeagueHustleStatsTeamStat
- Defined in:
- lib/nba/league_hustle_stats_team_stat.rb
Overview
Represents league-wide hustle statistics for a team
Instance Attribute Summary collapse
-
#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.
-
#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_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.
-
#screen_assists ⇒ Integer
Returns screen assists.
-
#screen_ast_pts ⇒ Integer
Returns points from screen assists.
-
#team_id ⇒ Integer
Returns the team ID.
-
#team_name ⇒ String
Returns the team name.
Instance Method Summary collapse
-
#team ⇒ Team?
Returns the team object.
Instance Attribute Details
#box_outs ⇒ Integer
Returns total box outs
151 |
# File 'lib/nba/league_hustle_stats_team_stat.rb', line 151 attribute :box_outs, Shale::Type::Integer |
#charges_drawn ⇒ Integer
Returns charges drawn
71 |
# File 'lib/nba/league_hustle_stats_team_stat.rb', line 71 attribute :charges_drawn, Shale::Type::Integer |
#contested_shots ⇒ Integer
Returns contested shots
39 |
# File 'lib/nba/league_hustle_stats_team_stat.rb', line 39 attribute :contested_shots, Shale::Type::Integer |
#contested_shots_2pt ⇒ Integer
Returns contested 2-point shots
47 |
# File 'lib/nba/league_hustle_stats_team_stat.rb', line 47 attribute :contested_shots_2pt, Shale::Type::Integer |
#contested_shots_3pt ⇒ Integer
Returns contested 3-point shots
55 |
# File 'lib/nba/league_hustle_stats_team_stat.rb', line 55 attribute :contested_shots_3pt, Shale::Type::Integer |
#def_boxouts ⇒ Integer
Returns defensive box outs
143 |
# File 'lib/nba/league_hustle_stats_team_stat.rb', line 143 attribute :def_boxouts, Shale::Type::Integer |
#def_loose_balls_recovered ⇒ Integer
Returns defensive loose balls recovered
103 |
# File 'lib/nba/league_hustle_stats_team_stat.rb', line 103 attribute :def_loose_balls_recovered, Shale::Type::Integer |
#deflections ⇒ Integer
Returns deflections
63 |
# File 'lib/nba/league_hustle_stats_team_stat.rb', line 63 attribute :deflections, Shale::Type::Integer |
#loose_balls_recovered ⇒ Integer
Returns total loose balls recovered
111 |
# File 'lib/nba/league_hustle_stats_team_stat.rb', line 111 attribute :loose_balls_recovered, Shale::Type::Integer |
#min ⇒ Float
Returns total minutes played
31 |
# File 'lib/nba/league_hustle_stats_team_stat.rb', line 31 attribute :min, Shale::Type::Float |
#off_boxouts ⇒ Integer
Returns offensive box outs
135 |
# File 'lib/nba/league_hustle_stats_team_stat.rb', line 135 attribute :off_boxouts, Shale::Type::Integer |
#off_loose_balls_recovered ⇒ Integer
Returns offensive loose balls recovered
95 |
# File 'lib/nba/league_hustle_stats_team_stat.rb', line 95 attribute :off_loose_balls_recovered, Shale::Type::Integer |
#pct_box_outs_def ⇒ Float
Returns percentage of defensive box outs
167 |
# File 'lib/nba/league_hustle_stats_team_stat.rb', line 167 attribute :pct_box_outs_def, Shale::Type::Float |
#pct_box_outs_off ⇒ Float
Returns percentage of offensive box outs
159 |
# File 'lib/nba/league_hustle_stats_team_stat.rb', line 159 attribute :pct_box_outs_off, Shale::Type::Float |
#pct_loose_balls_recovered_def ⇒ Float
Returns percentage of defensive loose balls recovered
127 |
# File 'lib/nba/league_hustle_stats_team_stat.rb', line 127 attribute :pct_loose_balls_recovered_def, Shale::Type::Float |
#pct_loose_balls_recovered_off ⇒ Float
Returns percentage of offensive loose balls recovered
119 |
# File 'lib/nba/league_hustle_stats_team_stat.rb', line 119 attribute :pct_loose_balls_recovered_off, Shale::Type::Float |
#screen_assists ⇒ Integer
Returns screen assists
79 |
# File 'lib/nba/league_hustle_stats_team_stat.rb', line 79 attribute :screen_assists, Shale::Type::Integer |
#screen_ast_pts ⇒ Integer
Returns points from screen assists
87 |
# File 'lib/nba/league_hustle_stats_team_stat.rb', line 87 attribute :screen_ast_pts, Shale::Type::Integer |
#team_id ⇒ Integer
Returns the team ID
15 |
# File 'lib/nba/league_hustle_stats_team_stat.rb', line 15 attribute :team_id, Shale::Type::Integer |
#team_name ⇒ String
Returns the team name
23 |
# File 'lib/nba/league_hustle_stats_team_stat.rb', line 23 attribute :team_name, Shale::Type::String |
Instance Method Details
#team ⇒ Team?
Returns the team object
175 176 177 |
# File 'lib/nba/league_hustle_stats_team_stat.rb', line 175 def team Teams.find(team_id) end |