class Faker::Games::HeroesOfTheStorm
Public Class Methods
battleground()
click to toggle source
Produces a battleground from Heroes
of the Storm.
@return [String]
@example
Faker::Games::HeroesOfTheStorm.battleground #=> "Towers of Doom"
@faker.version 1.9.2
# File lib/faker/games/heroes_of_the_storm.rb, line 16 def battleground fetch('heroes_of_the_storm.battlegrounds') end
class()
click to toggle source
This method is deprecated. The implementation will be removed in a near future release. Use `HeroesOfTheStorm.class_name` instead.
@deprecated Use {#class_name} instead.
Calls superclass method
# File lib/faker/games/heroes_of_the_storm.rb, line 25 def class warn '`HeroesOfTheStorm.class` is deprecated. Use `HeroesOfTheStorm.class_name` instead.' super end
class_name()
click to toggle source
Produces a class name from Heroes
of the Storm.
@return [String]
@example
Faker::Games::HeroesOfTheStorm.class_name #=> "Support"
@faker.version 2.13.0
# File lib/faker/games/heroes_of_the_storm.rb, line 40 def class_name fetch('heroes_of_the_storm.class_names') end
hero()
click to toggle source
Produces a hero from Heroes
of the Storm.
@return [String]
@example
Faker::Games::HeroesOfTheStorm.hero #=> "Illidan"
@faker.version 1.9.2
# File lib/faker/games/heroes_of_the_storm.rb, line 53 def hero fetch('heroes_of_the_storm.heroes') end
quote()
click to toggle source
Produces a quote from Heroes
of the Storm.
@return [String]
@example
Faker::Games::HeroesOfTheStorm.quote #=> "MEAT!!!"
@faker.version 1.9.2
# File lib/faker/games/heroes_of_the_storm.rb, line 66 def quote fetch('heroes_of_the_storm.quotes') end