class Faker::Games::WarhammerFantasy

Public Class Methods

creature() click to toggle source

Produces a creature from the Warhammer Fantasy setting.

@return [String]

@example

Faker::Games::WarhammerFantasy.creature #=> "Hydra"

@faker.version 2.13.0

# File lib/faker/games/warhammer_fantasy.rb, line 68
def creature
  fetch('games.warhammer_fantasy.creatures')
end
faction() click to toggle source

Produces a faction from the Warhammer Fantasy setting.

@return [String]

@example

Faker::Games::WarhammerFantasy.faction #=> "Bretonnia"

@faker.version 2.13.0

# File lib/faker/games/warhammer_fantasy.rb, line 55
def faction
  fetch('games.warhammer_fantasy.factions')
end
hero() click to toggle source

Produces the name of a hero from the Warhammer Fantasy setting.

@return [String]

@example

Faker::Games::WarhammerFantasy.hero #=> "Sigmar Heldenhammer"

@faker.version 2.13.0

# File lib/faker/games/warhammer_fantasy.rb, line 16
def hero
  fetch('games.warhammer_fantasy.heros')
end
location() click to toggle source

Produces a location from the Warhammer Fantasy setting.

@return [String]

@example

Faker::Games::WarhammerFantasy.location #=> "Lustria"

@faker.version 2.13.0

# File lib/faker/games/warhammer_fantasy.rb, line 42
def location
  fetch('games.warhammer_fantasy.locations')
end
quote() click to toggle source

Produces a quote from the Warhammer Fantasy setting.

@return [String]

@example

Faker::Games::WarhammerFantasy.quote #=> "The softest part of a castle is the belly of the man inside."

@faker.version 2.13.0

# File lib/faker/games/warhammer_fantasy.rb, line 29
def quote
  fetch('games.warhammer_fantasy.quotes')
end