Class: NBA::AllTimeLeader
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- NBA::AllTimeLeader
- Defined in:
- lib/nba/all_time_leader.rb
Overview
Represents an all-time statistical leader
Instance Attribute Summary collapse
-
#category ⇒ String
Returns the statistical category.
-
#is_active ⇒ Boolean
Returns whether the player is active.
-
#player_id ⇒ Integer
Returns the player ID.
-
#player_name ⇒ String
Returns the player name.
-
#rank ⇒ Integer
Returns the ranking position.
-
#value ⇒ Float
Returns the stat value.
Instance Method Summary collapse
-
#active? ⇒ Boolean
Returns whether the player is active.
-
#player ⇒ Player?
Returns the player object.
Instance Attribute Details
#category ⇒ String
Returns the statistical category
31 |
# File 'lib/nba/all_time_leader.rb', line 31 attribute :category, Shale::Type::String |
#is_active ⇒ Boolean
Returns whether the player is active
55 |
# File 'lib/nba/all_time_leader.rb', line 55 attribute :is_active, Shale::Type::Boolean |
#player_id ⇒ Integer
Returns the player ID
15 |
# File 'lib/nba/all_time_leader.rb', line 15 attribute :player_id, Shale::Type::Integer |
#player_name ⇒ String
Returns the player name
23 |
# File 'lib/nba/all_time_leader.rb', line 23 attribute :player_name, Shale::Type::String |
#rank ⇒ Integer
Returns the ranking position
47 |
# File 'lib/nba/all_time_leader.rb', line 47 attribute :rank, Shale::Type::Integer |
#value ⇒ Float
Returns the stat value
39 |
# File 'lib/nba/all_time_leader.rb', line 39 attribute :value, Shale::Type::Float |