Class: NBA::TeamDashboardStat
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- NBA::TeamDashboardStat
- Defined in:
- lib/nba/team_dashboard_stat.rb
Overview
Represents team dashboard split statistics
Instance Attribute Summary collapse
-
#ast ⇒ Float
Returns assists per game.
-
#blk ⇒ Float
Returns blocks per game.
-
#blka ⇒ Float
Returns blocked attempts per game.
-
#dreb ⇒ Float
Returns defensive rebounds per game.
-
#fg3_pct ⇒ Float
Returns three-point percentage.
-
#fg3a ⇒ Float
Returns three-pointers attempted per game.
-
#fg3m ⇒ Float
Returns three-pointers made per game.
-
#fg_pct ⇒ Float
Returns field goal percentage.
-
#fga ⇒ Float
Returns field goals attempted per game.
-
#fgm ⇒ Float
Returns field goals made per game.
-
#ft_pct ⇒ Float
Returns free throw percentage.
-
#fta ⇒ Float
Returns free throws attempted per game.
-
#ftm ⇒ Float
Returns free throws made per game.
-
#gp ⇒ Integer
Returns games played.
-
#group_set ⇒ String
Returns the group set name.
-
#group_value ⇒ String
Returns the group value.
-
#l ⇒ Integer
Returns losses.
-
#min ⇒ Float
Returns minutes per game.
-
#oreb ⇒ Float
Returns offensive rebounds per game.
-
#pf ⇒ Float
Returns personal fouls per game.
-
#pfd ⇒ Float
Returns personal fouls drawn per game.
-
#plus_minus ⇒ Float
Returns plus/minus per game.
-
#pts ⇒ Float
Returns points per game.
-
#reb ⇒ Float
Returns total rebounds per game.
-
#stl ⇒ Float
Returns steals per game.
-
#team_id ⇒ Integer
Returns the team ID.
-
#tov ⇒ Float
Returns turnovers per game.
-
#w ⇒ Integer
Returns wins.
-
#w_pct ⇒ Float
Returns win percentage.
Instance Method Summary collapse
-
#team ⇒ Team?
Returns the team object.
Instance Attribute Details
#ast ⇒ Float
Returns assists per game
172 |
# File 'lib/nba/team_dashboard_stat.rb', line 172 attribute :ast, Shale::Type::Float |
#blk ⇒ Float
Returns blocks per game
196 |
# File 'lib/nba/team_dashboard_stat.rb', line 196 attribute :blk, Shale::Type::Float |
#blka ⇒ Float
Returns blocked attempts per game
204 |
# File 'lib/nba/team_dashboard_stat.rb', line 204 attribute :blka, Shale::Type::Float |
#dreb ⇒ Float
Returns defensive rebounds per game
156 |
# File 'lib/nba/team_dashboard_stat.rb', line 156 attribute :dreb, Shale::Type::Float |
#fg3_pct ⇒ Float
Returns three-point percentage
116 |
# File 'lib/nba/team_dashboard_stat.rb', line 116 attribute :fg3_pct, Shale::Type::Float |
#fg3a ⇒ Float
Returns three-pointers attempted per game
108 |
# File 'lib/nba/team_dashboard_stat.rb', line 108 attribute :fg3a, Shale::Type::Float |
#fg3m ⇒ Float
Returns three-pointers made per game
100 |
# File 'lib/nba/team_dashboard_stat.rb', line 100 attribute :fg3m, Shale::Type::Float |
#fg_pct ⇒ Float
Returns field goal percentage
92 |
# File 'lib/nba/team_dashboard_stat.rb', line 92 attribute :fg_pct, Shale::Type::Float |
#fga ⇒ Float
Returns field goals attempted per game
84 |
# File 'lib/nba/team_dashboard_stat.rb', line 84 attribute :fga, Shale::Type::Float |
#fgm ⇒ Float
Returns field goals made per game
76 |
# File 'lib/nba/team_dashboard_stat.rb', line 76 attribute :fgm, Shale::Type::Float |
#ft_pct ⇒ Float
Returns free throw percentage
140 |
# File 'lib/nba/team_dashboard_stat.rb', line 140 attribute :ft_pct, Shale::Type::Float |
#fta ⇒ Float
Returns free throws attempted per game
132 |
# File 'lib/nba/team_dashboard_stat.rb', line 132 attribute :fta, Shale::Type::Float |
#ftm ⇒ Float
Returns free throws made per game
124 |
# File 'lib/nba/team_dashboard_stat.rb', line 124 attribute :ftm, Shale::Type::Float |
#gp ⇒ Integer
Returns games played
36 |
# File 'lib/nba/team_dashboard_stat.rb', line 36 attribute :gp, Shale::Type::Integer |
#group_set ⇒ String
Returns the group set name
12 |
# File 'lib/nba/team_dashboard_stat.rb', line 12 attribute :group_set, Shale::Type::String |
#group_value ⇒ String
Returns the group value
20 |
# File 'lib/nba/team_dashboard_stat.rb', line 20 attribute :group_value, Shale::Type::String |
#l ⇒ Integer
Returns losses
52 |
# File 'lib/nba/team_dashboard_stat.rb', line 52 attribute :l, Shale::Type::Integer |
#min ⇒ Float
Returns minutes per game
68 |
# File 'lib/nba/team_dashboard_stat.rb', line 68 attribute :min, Shale::Type::Float |
#oreb ⇒ Float
Returns offensive rebounds per game
148 |
# File 'lib/nba/team_dashboard_stat.rb', line 148 attribute :oreb, Shale::Type::Float |
#pf ⇒ Float
Returns personal fouls per game
212 |
# File 'lib/nba/team_dashboard_stat.rb', line 212 attribute :pf, Shale::Type::Float |
#pfd ⇒ Float
Returns personal fouls drawn per game
220 |
# File 'lib/nba/team_dashboard_stat.rb', line 220 attribute :pfd, Shale::Type::Float |
#plus_minus ⇒ Float
Returns plus/minus per game
236 |
# File 'lib/nba/team_dashboard_stat.rb', line 236 attribute :plus_minus, Shale::Type::Float |
#pts ⇒ Float
Returns points per game
228 |
# File 'lib/nba/team_dashboard_stat.rb', line 228 attribute :pts, Shale::Type::Float |
#reb ⇒ Float
Returns total rebounds per game
164 |
# File 'lib/nba/team_dashboard_stat.rb', line 164 attribute :reb, Shale::Type::Float |
#stl ⇒ Float
Returns steals per game
188 |
# File 'lib/nba/team_dashboard_stat.rb', line 188 attribute :stl, Shale::Type::Float |
#team_id ⇒ Integer
Returns the team ID
28 |
# File 'lib/nba/team_dashboard_stat.rb', line 28 attribute :team_id, Shale::Type::Integer |
#tov ⇒ Float
Returns turnovers per game
180 |
# File 'lib/nba/team_dashboard_stat.rb', line 180 attribute :tov, Shale::Type::Float |
#w ⇒ Integer
Returns wins
44 |
# File 'lib/nba/team_dashboard_stat.rb', line 44 attribute :w, Shale::Type::Integer |
#w_pct ⇒ Float
Returns win percentage
60 |
# File 'lib/nba/team_dashboard_stat.rb', line 60 attribute :w_pct, Shale::Type::Float |
Instance Method Details
#team ⇒ Team?
Returns the team object
244 245 246 |
# File 'lib/nba/team_dashboard_stat.rb', line 244 def team Teams.find(team_id) end |