class Faker::Games::Heroes

Public Class Methods

artifact() click to toggle source

Produces the name of an artifact from Heroes 3.

@return [String]

@example

Faker::Games::Heroes.artifact #=> "Armageddon's Blade"

@faker.version next

# File lib/faker/games/heroes.rb, line 55
def artifact
  fetch('heroes.artifacts')
end
klass() click to toggle source

Produces the name of a class from Heroes 3.

@return [String]

@example

Faker::Games::Heroes.klass #=> "Knight"

@faker.version 1.9.2

# File lib/faker/games/heroes.rb, line 42
def klass
  fetch('heroes.klasses')
end
name() click to toggle source

Produces the name of a hero from Heroes 3.

@return [String]

@example

Faker::Games::Heroes.name #=> "Christian"

@faker.version 1.9.2

# File lib/faker/games/heroes.rb, line 16
def name
  fetch('heroes.names')
end
specialty() click to toggle source

Produces the name of a specialty from Heroes 3.

@return [String]

@example

Faker::Games::Heroes.specialty #=> "Ballista"

@faker.version 1.9.2

# File lib/faker/games/heroes.rb, line 29
def specialty
  fetch('heroes.specialties')
end