Class: YFantasy::Game::PositionType
- Inherits:
-
BaseSubresource
- Object
- BaseSubresource
- YFantasy::Game::PositionType
- Defined in:
- lib/y_fantasy/resources/game/position_type.rb
Overview
Represents a position type within a fantasy game
Instance Attribute Summary collapse
-
#display_name ⇒ String
readonly
Full name of the position type.
-
#type ⇒ String
readonly
Position type abbreviation.
Method Summary
Methods inherited from BaseSubresource
dependent?, find, resource_name
Methods included from Subresourceable
Instance Attribute Details
#display_name ⇒ String (readonly)
Returns full name of the position type.
17 |
# File 'lib/y_fantasy/resources/game/position_type.rb', line 17 option :display_name |
#type ⇒ String (readonly)
Returns position type abbreviation.
12 |
# File 'lib/y_fantasy/resources/game/position_type.rb', line 12 option :type |