class Faker::Games::Heroes
Public Class Methods
Source
# File lib/faker/games/heroes.rb, line 55 def artifact fetch('heroes.artifacts') end
Produces the name of an artifact from Heroes
3.
@return [String]
@example
Faker::Games::Heroes.artifact #=> "Armageddon's Blade"
@faker.version next
Source
# File lib/faker/games/heroes.rb, line 42 def klass fetch('heroes.klasses') end
Produces the name of a class from Heroes
3.
@return [String]
@example
Faker::Games::Heroes.klass #=> "Knight"
@faker.version 1.9.2
Source
# File lib/faker/games/heroes.rb, line 16 def name fetch('heroes.names') end
Produces the name of a hero from Heroes
3.
@return [String]
@example
Faker::Games::Heroes.name #=> "Christian"
@faker.version 1.9.2
Source
# File lib/faker/games/heroes.rb, line 29 def specialty fetch('heroes.specialties') end
Produces the name of a specialty from Heroes
3.
@return [String]
@example
Faker::Games::Heroes.specialty #=> "Ballista"
@faker.version 1.9.2