Sha256: a1f06713a4ebcc98e77e48a191c0a79568f02dc1c1bd6f203b5a6cb18e3407e0
Contents?: true
Size: 1.38 KB
Versions: 12
Compression:
Stored size: 1.38 KB
Contents
# frozen_string_literal: true module Faker class Games class HeroesOfTheStorm < Base class << self ## # Produces a battleground from Heroes of the Storm. # # @return [String] # # @example # Faker::Games::HeroesOfTheStorm.battleground #=> "Towers of Doom" # # @faker.version 1.9.2 def battleground fetch('heroes_of_the_storm.battlegrounds') end ## # Produces a class from Heroes of the Storm. # # @return [String] # # @example # Faker::Games::HeroesOfTheStorm.class #=> "Support" # # @faker.version 1.9.2 def class fetch('heroes_of_the_storm.classes') end ## # Produces a hero from Heroes of the Storm. # # @return [String] # # @example # Faker::Games::HeroesOfTheStorm.hero #=> "Illidan" # # @faker.version 1.9.2 def hero fetch('heroes_of_the_storm.heroes') end ## # Produces a quote from Heroes of the Storm. # # @return [String] # # @example # Faker::Games::HeroesOfTheStorm.quote #=> "MEAT!!!" # # @faker.version 1.9.2 def quote fetch('heroes_of_the_storm.quotes') end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems