Class: NBA::TeamPassStat
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- NBA::TeamPassStat
- Defined in:
- lib/nba/team_pass_stat.rb
Overview
Represents team tracking pass statistics
Instance Attribute Summary collapse
-
#ast ⇒ Float
Returns assists per game.
-
#fg2_pct ⇒ Float
Returns two-point percentage following pass.
-
#fg2a ⇒ Float
Returns two-pointers attempted following pass.
-
#fg2m ⇒ Float
Returns two-pointers made following pass.
-
#fg3_pct ⇒ Float
Returns three-point percentage following pass.
-
#fg3a ⇒ Float
Returns three-pointers attempted following pass.
-
#fg3m ⇒ Float
Returns three-pointers made following pass.
-
#fg_pct ⇒ Float
Returns field goal percentage following pass.
-
#fga ⇒ Float
Returns field goals attempted following pass.
-
#fgm ⇒ Float
Returns field goals made following pass.
-
#frequency ⇒ Float
Returns the frequency percentage.
-
#g ⇒ Integer
Returns games.
-
#pass ⇒ Float
Returns passes per game.
-
#pass_from ⇒ String
Returns the passer name (for passes made).
-
#pass_teammate_player_id ⇒ Integer
Returns the pass partner player ID.
-
#pass_to ⇒ String
Returns the pass recipient name (for passes received).
-
#pass_type ⇒ String
Returns the type of pass.
-
#team_id ⇒ Integer
Returns the team ID.
-
#team_name ⇒ String
Returns the team name.
Instance Method Summary collapse
-
#team ⇒ Team?
Returns the team object.
-
#teammate ⇒ Player?
Returns the teammate player object.
Instance Attribute Details
#ast ⇒ Float
Returns assists per game
89 |
# File 'lib/nba/team_pass_stat.rb', line 89 attribute :ast, Shale::Type::Float |
#fg2_pct ⇒ Float
Returns two-point percentage following pass
137 |
# File 'lib/nba/team_pass_stat.rb', line 137 attribute :fg2_pct, Shale::Type::Float |
#fg2a ⇒ Float
Returns two-pointers attempted following pass
129 |
# File 'lib/nba/team_pass_stat.rb', line 129 attribute :fg2a, Shale::Type::Float |
#fg2m ⇒ Float
Returns two-pointers made following pass
121 |
# File 'lib/nba/team_pass_stat.rb', line 121 attribute :fg2m, Shale::Type::Float |
#fg3_pct ⇒ Float
Returns three-point percentage following pass
161 |
# File 'lib/nba/team_pass_stat.rb', line 161 attribute :fg3_pct, Shale::Type::Float |
#fg3a ⇒ Float
Returns three-pointers attempted following pass
153 |
# File 'lib/nba/team_pass_stat.rb', line 153 attribute :fg3a, Shale::Type::Float |
#fg3m ⇒ Float
Returns three-pointers made following pass
145 |
# File 'lib/nba/team_pass_stat.rb', line 145 attribute :fg3m, Shale::Type::Float |
#fg_pct ⇒ Float
Returns field goal percentage following pass
113 |
# File 'lib/nba/team_pass_stat.rb', line 113 attribute :fg_pct, Shale::Type::Float |
#fga ⇒ Float
Returns field goals attempted following pass
105 |
# File 'lib/nba/team_pass_stat.rb', line 105 attribute :fga, Shale::Type::Float |
#fgm ⇒ Float
Returns field goals made following pass
97 |
# File 'lib/nba/team_pass_stat.rb', line 97 attribute :fgm, Shale::Type::Float |
#frequency ⇒ Float
Returns the frequency percentage
73 |
# File 'lib/nba/team_pass_stat.rb', line 73 attribute :frequency, Shale::Type::Float |
#g ⇒ Integer
Returns games
41 |
# File 'lib/nba/team_pass_stat.rb', line 41 attribute :g, Shale::Type::Integer |
#pass ⇒ Float
Returns passes per game
81 |
# File 'lib/nba/team_pass_stat.rb', line 81 attribute :pass, Shale::Type::Float |
#pass_from ⇒ String
Returns the passer name (for passes made)
49 |
# File 'lib/nba/team_pass_stat.rb', line 49 attribute :pass_from, Shale::Type::String |
#pass_teammate_player_id ⇒ Integer
Returns the pass partner player ID
65 |
# File 'lib/nba/team_pass_stat.rb', line 65 attribute :pass_teammate_player_id, Shale::Type::Integer |
#pass_to ⇒ String
Returns the pass recipient name (for passes received)
57 |
# File 'lib/nba/team_pass_stat.rb', line 57 attribute :pass_to, Shale::Type::String |
#pass_type ⇒ String
Returns the type of pass
33 |
# File 'lib/nba/team_pass_stat.rb', line 33 attribute :pass_type, Shale::Type::String |
#team_id ⇒ Integer
Returns the team ID
17 |
# File 'lib/nba/team_pass_stat.rb', line 17 attribute :team_id, Shale::Type::Integer |
#team_name ⇒ String
Returns the team name
25 |
# File 'lib/nba/team_pass_stat.rb', line 25 attribute :team_name, Shale::Type::String |