Class: DiabloGame::Jewel
- Inherits:
-
Struct
- Object
- Struct
- DiabloGame::Jewel
- Defined in:
- lib/diablo_game/jewel.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#points ⇒ Object
Returns the value of attribute points.
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
4 5 6 |
# File 'lib/diablo_game/jewel.rb', line 4 def name @name end |
#points ⇒ Object
Returns the value of attribute points
4 5 6 |
# File 'lib/diablo_game/jewel.rb', line 4 def points @points end |