Class: NBA::TeamHistoricalRecord
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- NBA::TeamHistoricalRecord
- Defined in:
- lib/nba/team_historical_record.rb
Overview
Represents a team’s historical record
Instance Attribute Summary collapse
-
#city ⇒ String
Returns the team city.
-
#conf_count ⇒ Integer
Returns conference titles.
-
#conf_rank ⇒ Integer
Returns the conference rank.
-
#div_count ⇒ Integer
Returns division titles.
-
#div_rank ⇒ Integer
Returns the division rank.
-
#losses ⇒ Integer
Returns the number of losses.
-
#nba_finals_appearance ⇒ String
Returns NBA Finals appearances.
-
#nickname ⇒ String
Returns the team nickname.
-
#po_losses ⇒ Integer
Returns playoff losses.
-
#po_wins ⇒ Integer
Returns playoff wins.
-
#season_id ⇒ String
Returns the season ID.
-
#team_id ⇒ Integer
Returns the team ID.
-
#win_pct ⇒ Float
Returns the win percentage.
-
#wins ⇒ Integer
Returns the number of wins.
-
#year ⇒ Integer
Returns the year.
Instance Method Summary collapse
-
#team ⇒ Team?
Returns the team object.
Instance Attribute Details
#city ⇒ String
Returns the team city
23 |
# File 'lib/nba/team_historical_record.rb', line 23 attribute :city, Shale::Type::String |
#conf_count ⇒ Integer
Returns conference titles
111 |
# File 'lib/nba/team_historical_record.rb', line 111 attribute :conf_count, Shale::Type::Integer |
#conf_rank ⇒ Integer
Returns the conference rank
79 |
# File 'lib/nba/team_historical_record.rb', line 79 attribute :conf_rank, Shale::Type::Integer |
#div_count ⇒ Integer
Returns division titles
119 |
# File 'lib/nba/team_historical_record.rb', line 119 attribute :div_count, Shale::Type::Integer |
#div_rank ⇒ Integer
Returns the division rank
87 |
# File 'lib/nba/team_historical_record.rb', line 87 attribute :div_rank, Shale::Type::Integer |
#losses ⇒ Integer
Returns the number of losses
63 |
# File 'lib/nba/team_historical_record.rb', line 63 attribute :losses, Shale::Type::Integer |
#nba_finals_appearance ⇒ String
Returns NBA Finals appearances
127 |
# File 'lib/nba/team_historical_record.rb', line 127 attribute :nba_finals_appearance, Shale::Type::String |
#nickname ⇒ String
Returns the team nickname
31 |
# File 'lib/nba/team_historical_record.rb', line 31 attribute :nickname, Shale::Type::String |
#po_losses ⇒ Integer
Returns playoff losses
103 |
# File 'lib/nba/team_historical_record.rb', line 103 attribute :po_losses, Shale::Type::Integer |
#po_wins ⇒ Integer
Returns playoff wins
95 |
# File 'lib/nba/team_historical_record.rb', line 95 attribute :po_wins, Shale::Type::Integer |
#season_id ⇒ String
Returns the season ID
39 |
# File 'lib/nba/team_historical_record.rb', line 39 attribute :season_id, Shale::Type::String |
#team_id ⇒ Integer
Returns the team ID
15 |
# File 'lib/nba/team_historical_record.rb', line 15 attribute :team_id, Shale::Type::Integer |
#win_pct ⇒ Float
Returns the win percentage
71 |
# File 'lib/nba/team_historical_record.rb', line 71 attribute :win_pct, Shale::Type::Float |
#wins ⇒ Integer
Returns the number of wins
55 |
# File 'lib/nba/team_historical_record.rb', line 55 attribute :wins, Shale::Type::Integer |
#year ⇒ Integer
Returns the year
47 |
# File 'lib/nba/team_historical_record.rb', line 47 attribute :year, Shale::Type::Integer |