class Faker::Games::WorldOfWarcraft
Public Class Methods
class_name()
click to toggle source
Produces a class name from World of Warcraft.
@return [String]
@example
Faker::Games::WorldOfWarcraft.class_name #=> "Druid"
@faker.version next
# File lib/faker/games/world_of_warcraft.rb, line 29 def class_name fetch('games.world_of_warcraft.class_names') end
hero()
click to toggle source
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
# File lib/faker/games/world_of_warcraft.rb, line 16 def hero fetch('games.world_of_warcraft.heros') end
quote()
click to toggle source
Produces a quote from World of Warcraft.
@return [String]
@example
Faker::Games::WorldOfWarcraft.quote #=> "These are dark times indeed."
@faker.version 1.9.2
# File lib/faker/games/world_of_warcraft.rb, line 54 def quote fetch('games.world_of_warcraft.quotes') end
race()
click to toggle source
Produces the name of a race from World of Warcraft.
@return [String]
@example
Faker::Games::WorldOfWarcraft.race #=> "Druid"
@faker.version next
# File lib/faker/games/world_of_warcraft.rb, line 41 def race fetch('games.world_of_warcraft.races') end