Class: StudioGame::Treasure

Inherits:
Struct
  • Object
show all
Defined in:
lib/studio_game/treasure_trove.rb

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



2
3
4
# File 'lib/studio_game/treasure_trove.rb', line 2

def name
  @name
end

#pointsObject

Returns the value of attribute points

Returns:

  • (Object)

    the current value of points



2
3
4
# File 'lib/studio_game/treasure_trove.rb', line 2

def points
  @points
end