Class: NBA::Position
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- NBA::Position
- Defined in:
- lib/nba/position.rb
Overview
Represents a player position
Instance Attribute Summary collapse
-
#abbreviation ⇒ String
Returns the position abbreviation.
-
#code ⇒ String
Returns the position code.
-
#name ⇒ String
Returns the position name.
-
#type ⇒ String
Returns the position type.
Instance Attribute Details
#abbreviation ⇒ String
Returns the position abbreviation
39 |
# File 'lib/nba/position.rb', line 39 attribute :abbreviation, Shale::Type::String |
#code ⇒ String
Returns the position code
15 |
# File 'lib/nba/position.rb', line 15 attribute :code, Shale::Type::String |
#name ⇒ String
Returns the position name
23 |
# File 'lib/nba/position.rb', line 23 attribute :name, Shale::Type::String |
#type ⇒ String
Returns the position type
31 |
# File 'lib/nba/position.rb', line 31 attribute :type, Shale::Type::String |