Class: NBA::LeagueDashPtTeamDefendStat
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- NBA::LeagueDashPtTeamDefendStat
- Defined in:
- lib/nba/league_dash_pt_team_defend_stat.rb
Overview
Represents league-wide team defensive statistics
Instance Attribute Summary collapse
-
#d_fg_pct ⇒ Float?
Returns defended field goal percentage.
-
#d_fga ⇒ Float?
Returns defended field goals attempted.
-
#d_fgm ⇒ Float?
Returns defended field goals made.
-
#freq ⇒ Float?
Returns frequency percentage.
-
#g ⇒ Integer?
Returns games (alias for games played).
-
#gp ⇒ Integer?
Returns games played.
-
#normal_fg_pct ⇒ Float?
Returns normal (uncontested) field goal percentage.
-
#pct_plusminus ⇒ Float?
Returns percentage plus/minus (difference from normal).
-
#team_abbreviation ⇒ String?
Returns the team abbreviation.
-
#team_id ⇒ Integer?
Returns the team ID.
-
#team_name ⇒ String?
Returns the team name.
Instance Method Summary collapse
-
#team ⇒ Team?
Returns the team.
Instance Attribute Details
#d_fg_pct ⇒ Float?
Returns defended field goal percentage
82 |
# File 'lib/nba/league_dash_pt_team_defend_stat.rb', line 82 attribute :d_fg_pct, Shale::Type::Float |
#d_fga ⇒ Float?
Returns defended field goals attempted
74 |
# File 'lib/nba/league_dash_pt_team_defend_stat.rb', line 74 attribute :d_fga, Shale::Type::Float |
#d_fgm ⇒ Float?
Returns defended field goals made
66 |
# File 'lib/nba/league_dash_pt_team_defend_stat.rb', line 66 attribute :d_fgm, Shale::Type::Float |
#freq ⇒ Float?
Returns frequency percentage
58 |
# File 'lib/nba/league_dash_pt_team_defend_stat.rb', line 58 attribute :freq, Shale::Type::Float |
#g ⇒ Integer?
Returns games (alias for games played)
50 |
# File 'lib/nba/league_dash_pt_team_defend_stat.rb', line 50 attribute :g, Shale::Type::Integer |
#gp ⇒ Integer?
Returns games played
42 |
# File 'lib/nba/league_dash_pt_team_defend_stat.rb', line 42 attribute :gp, Shale::Type::Integer |
#normal_fg_pct ⇒ Float?
Returns normal (uncontested) field goal percentage
90 |
# File 'lib/nba/league_dash_pt_team_defend_stat.rb', line 90 attribute :normal_fg_pct, Shale::Type::Float |
#pct_plusminus ⇒ Float?
Returns percentage plus/minus (difference from normal)
98 |
# File 'lib/nba/league_dash_pt_team_defend_stat.rb', line 98 attribute :pct_plusminus, Shale::Type::Float |
#team_abbreviation ⇒ String?
Returns the team abbreviation
34 |
# File 'lib/nba/league_dash_pt_team_defend_stat.rb', line 34 attribute :team_abbreviation, Shale::Type::String |
#team_id ⇒ Integer?
Returns the team ID
18 |
# File 'lib/nba/league_dash_pt_team_defend_stat.rb', line 18 attribute :team_id, Shale::Type::Integer |
#team_name ⇒ String?
Returns the team name
26 |
# File 'lib/nba/league_dash_pt_team_defend_stat.rb', line 26 attribute :team_name, Shale::Type::String |
Instance Method Details
#team ⇒ Team?
Returns the team
106 107 108 |
# File 'lib/nba/league_dash_pt_team_defend_stat.rb', line 106 def team Teams.find(team_id) end |