Method: StudioGame::Player#each_found_treasure
- Defined in:
- lib/studio_game/player.rb
#each_found_treasure ⇒ Object
52 53 54 55 56 |
# File 'lib/studio_game/player.rb', line 52 def each_found_treasure @found_treasures.each do |name, points| yield Treasure.new(name, points) end end |