Class: Faker::Games::Heroes
- Inherits:
-
Base
- Object
- Base
- Faker::Games::Heroes
show all
- Defined in:
- lib/faker/games/heroes.rb
Constant Summary
Constants inherited
from Base
Base::Letters, Base::Numbers, Base::ULetters
Class Method Summary
collapse
Methods inherited from Base
bothify, disable_enforce_available_locales, fetch, fetch_all, flexible, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, translate, unique, with_locale
Class Method Details
.klass ⇒ Object
15
16
17
|
# File 'lib/faker/games/heroes.rb', line 15
def klass
fetch('heroes.klasses')
end
|
.name ⇒ Object
7
8
9
|
# File 'lib/faker/games/heroes.rb', line 7
def name
fetch('heroes.names')
end
|
.specialty ⇒ Object
11
12
13
|
# File 'lib/faker/games/heroes.rb', line 11
def specialty
fetch('heroes.specialties')
end
|