class Faker::Games::Zelda

Public Class Methods

character() click to toggle source

Produces the name of a character from the Legend of Zelda games.

@return [String]

@example

Faker::Games::Zelda.character #=> "Link"

@faker.version 1.7.3

# File lib/faker/games/zelda.rb, line 30
def character
  fetch('games.zelda.characters')
end
game() click to toggle source

Produces the name of a Legend of Zelda game.

@return [String]

@example

Faker::Games::Zelda.game #=> "Breath of the Wild"

@faker.version 1.7.3

# File lib/faker/games/zelda.rb, line 17
def game
  fetch('games.zelda.games')
end
item() click to toggle source

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

@return [String]

@example

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

@faker.version 1.7.3

# File lib/faker/games/zelda.rb, line 56
def item
  fetch('games.zelda.items')
end
location() click to toggle source

Produces the name of a character from the Legend of Zelda games.

@return [String]

@example

Faker::Games::Zelda.location #=> "Hyrule Castle"

@faker.version 1.7.3

# File lib/faker/games/zelda.rb, line 43
def location
  fetch('games.zelda.locations')
end