Class: Treasure
- Inherits:
-
Struct
- Object
- Struct
- Treasure
- Defined in:
- lib/dry_game/treasure_trove.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
3 4 5 |
# File 'lib/dry_game/treasure_trove.rb', line 3 def name @name end |
#points ⇒ Object
Returns the value of attribute points
3 4 5 |
# File 'lib/dry_game/treasure_trove.rb', line 3 def points @points end |