Class: NBA::ReboundStat
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- NBA::ReboundStat
- Defined in:
- lib/nba/rebound_stat.rb
Overview
Represents player tracking rebound statistics
Instance Attribute Summary collapse
-
#c_dreb ⇒ Float?
Returns contested defensive rebounds per game.
-
#c_oreb ⇒ Float?
Returns contested offensive rebounds per game.
-
#c_reb ⇒ Float?
Returns contested total rebounds per game.
-
#c_reb_pct ⇒ Float?
Returns contested rebound percentage.
-
#dreb ⇒ Float?
Returns defensive rebounds per game.
-
#g ⇒ Integer?
Returns the number of games.
-
#oreb ⇒ Float?
Returns offensive rebounds per game.
-
#overall ⇒ String?
Returns the overall category.
-
#player_id ⇒ Integer?
Returns the player ID.
-
#player_name_last_first ⇒ String?
Returns the player name in “Last, First” format.
-
#reb ⇒ Float?
Returns total rebounds per game.
-
#reb_dist_range ⇒ String?
Returns the rebound distance range.
-
#reb_frequency ⇒ Float?
Returns the rebound frequency.
-
#reb_num_contesting_range ⇒ String?
Returns the number of contesting players range.
-
#shot_dist_range ⇒ String?
Returns the shot distance range.
-
#shot_type_range ⇒ String?
Returns the shot type range.
-
#sort_order ⇒ Integer?
Returns the sort order for the row.
-
#uc_dreb ⇒ Float?
Returns uncontested defensive rebounds per game.
-
#uc_oreb ⇒ Float?
Returns uncontested offensive rebounds per game.
-
#uc_reb ⇒ Float?
Returns uncontested total rebounds per game.
-
#uc_reb_pct ⇒ Float?
Returns uncontested rebound percentage.
Instance Method Summary collapse
-
#player ⇒ Player?
Returns the player associated with this stat.
Instance Attribute Details
#c_dreb ⇒ Float?
Returns contested defensive rebounds per game
129 |
# File 'lib/nba/rebound_stat.rb', line 129 attribute :c_dreb, Shale::Type::Float |
#c_oreb ⇒ Float?
Returns contested offensive rebounds per game
121 |
# File 'lib/nba/rebound_stat.rb', line 121 attribute :c_oreb, Shale::Type::Float |
#c_reb ⇒ Float?
Returns contested total rebounds per game
137 |
# File 'lib/nba/rebound_stat.rb', line 137 attribute :c_reb, Shale::Type::Float |
#c_reb_pct ⇒ Float?
Returns contested rebound percentage
145 |
# File 'lib/nba/rebound_stat.rb', line 145 attribute :c_reb_pct, Shale::Type::Float |
#dreb ⇒ Float?
Returns defensive rebounds per game
105 |
# File 'lib/nba/rebound_stat.rb', line 105 attribute :dreb, Shale::Type::Float |
#g ⇒ Integer?
Returns the number of games
41 |
# File 'lib/nba/rebound_stat.rb', line 41 attribute :g, Shale::Type::Integer |
#oreb ⇒ Float?
Returns offensive rebounds per game
97 |
# File 'lib/nba/rebound_stat.rb', line 97 attribute :oreb, Shale::Type::Float |
#overall ⇒ String?
Returns the overall category
57 |
# File 'lib/nba/rebound_stat.rb', line 57 attribute :overall, Shale::Type::String |
#player_id ⇒ Integer?
Returns the player ID
17 |
# File 'lib/nba/rebound_stat.rb', line 17 attribute :player_id, Shale::Type::Integer |
#player_name_last_first ⇒ String?
Returns the player name in “Last, First” format
25 |
# File 'lib/nba/rebound_stat.rb', line 25 attribute :player_name_last_first, Shale::Type::String |
#reb ⇒ Float?
Returns total rebounds per game
113 |
# File 'lib/nba/rebound_stat.rb', line 113 attribute :reb, Shale::Type::Float |
#reb_dist_range ⇒ String?
Returns the rebound distance range
65 |
# File 'lib/nba/rebound_stat.rb', line 65 attribute :reb_dist_range, Shale::Type::String |
#reb_frequency ⇒ Float?
Returns the rebound frequency
89 |
# File 'lib/nba/rebound_stat.rb', line 89 attribute :reb_frequency, Shale::Type::Float |
#reb_num_contesting_range ⇒ String?
Returns the number of contesting players range
49 |
# File 'lib/nba/rebound_stat.rb', line 49 attribute :reb_num_contesting_range, Shale::Type::String |
#shot_dist_range ⇒ String?
Returns the shot distance range
73 |
# File 'lib/nba/rebound_stat.rb', line 73 attribute :shot_dist_range, Shale::Type::String |
#shot_type_range ⇒ String?
Returns the shot type range
81 |
# File 'lib/nba/rebound_stat.rb', line 81 attribute :shot_type_range, Shale::Type::String |
#sort_order ⇒ Integer?
Returns the sort order for the row
33 |
# File 'lib/nba/rebound_stat.rb', line 33 attribute :sort_order, Shale::Type::Integer |
#uc_dreb ⇒ Float?
Returns uncontested defensive rebounds per game
161 |
# File 'lib/nba/rebound_stat.rb', line 161 attribute :uc_dreb, Shale::Type::Float |
#uc_oreb ⇒ Float?
Returns uncontested offensive rebounds per game
153 |
# File 'lib/nba/rebound_stat.rb', line 153 attribute :uc_oreb, Shale::Type::Float |
#uc_reb ⇒ Float?
Returns uncontested total rebounds per game
169 |
# File 'lib/nba/rebound_stat.rb', line 169 attribute :uc_reb, Shale::Type::Float |
#uc_reb_pct ⇒ Float?
Returns uncontested rebound percentage
177 |
# File 'lib/nba/rebound_stat.rb', line 177 attribute :uc_reb_pct, Shale::Type::Float |
Instance Method Details
#player ⇒ Player?
Returns the player associated with this stat
185 186 187 |
# File 'lib/nba/rebound_stat.rb', line 185 def player Players.find(player_id) end |