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

Version Path
faker-2.14.0 lib/faker/games/world_of_warcraft.rb
faker-2.13.0 lib/faker/games/world_of_warcraft.rb
faker-2.12.0 lib/faker/games/world_of_warcraft.rb
faker-2.11.0 lib/faker/games/world_of_warcraft.rb
faker-2.10.2 lib/faker/games/world_of_warcraft.rb
faker-2.10.1 lib/faker/games/world_of_warcraft.rb
faker-2.10.0 lib/faker/games/world_of_warcraft.rb
faker-2.9.0 lib/faker/games/world_of_warcraft.rb
faker-2.8.1 lib/faker/games/world_of_warcraft.rb
faker-2.8.0 lib/faker/games/world_of_warcraft.rb
faker-2.7.0 lib/faker/games/world_of_warcraft.rb
faker-2.6.0 lib/faker/games/world_of_warcraft.rb
faker-2.5.0 lib/faker/games/world_of_warcraft.rb
faker-2.4.0 lib/faker/games/world_of_warcraft.rb