Sha256: 71c56ee63e5ef12ef139155dc250bbc6f8c74e5fa296c771727461e7330c4082
Contents?: true
Size: 1.38 KB
Versions: 36
Compression:
Stored size: 1.38 KB
Contents
# frozen_string_literal: true module Faker class Games class Zelda < Base flexible :zelda class << self ## # 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 def game fetch('games.zelda.games') end ## # 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 def character fetch('games.zelda.characters') end ## # 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 def location fetch('games.zelda.locations') end ## # 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 def item fetch('games.zelda.items') end end end end end
Version data entries
36 entries across 36 versions & 2 rubygems