Sha256: 7ec0583fa8fd737ac936b22e9c8f85059c231c2afc9261d8da8a8ab064cfbc82
Contents?: true
Size: 805 Bytes
Versions: 14
Compression:
Stored size: 805 Bytes
Contents
# frozen_string_literal: true module Faker class Games class WorldOfWarcraft < Base class << self ## # Produces the name of a hero from World of Warcraft. # # @return [String] # # @example # Faker::Games::WorldOfWarcraft.hero #=> "Uther the Lightbringer" # # @faker.version 1.9.2 def hero fetch('games.world_of_warcraft.hero') end ## # Produces a quote from World of Warcraft. # # @return [String] # # @example # Faker::Games::WorldOfWarcraft.quote #=> "These are dark times indeed." # # @faker.version 1.9.2 def quote fetch('games.world_of_warcraft.quotes') end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems