Method: Faker::Games::Zelda.item

Defined in:
lib/faker/games/zelda.rb

.itemString

Produces the name of an item from the Legend of Zelda games.

Examples:

Faker::Games::Zelda.item #=> "Boomerang"

Returns:

  • (String)

Available since:

  • 1.7.3



56
57
58
# File 'lib/faker/games/zelda.rb', line 56

def item
  fetch('games.zelda.items')
end