Class: Faker::ElderScrolls
- Inherits:
-
Base
- Object
- Base
- Faker::ElderScrolls
show all
- Defined in:
- lib/faker/elder_scrolls.rb
Constant Summary
Constants inherited
from Base
Base::Letters, Base::Numbers, Base::ULetters
Class Method Summary
collapse
Methods inherited from Base
bothify, fetch, fetch_all, flexible, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, respond_to_missing?, sample, shuffle, translate, unique, with_locale
Class Method Details
.city ⇒ Object
8
9
10
|
# File 'lib/faker/elder_scrolls.rb', line 8
def city
fetch('elder_scrolls.city')
end
|
.creature ⇒ Object
12
13
14
|
# File 'lib/faker/elder_scrolls.rb', line 12
def creature
fetch('elder_scrolls.creature')
end
|
.dragon ⇒ Object
20
21
22
|
# File 'lib/faker/elder_scrolls.rb', line 20
def dragon
fetch('elder_scrolls.dragon')
end
|
.first_name ⇒ Object
28
29
30
|
# File 'lib/faker/elder_scrolls.rb', line 28
def first_name
fetch('elder_scrolls.first_name')
end
|
.last_name ⇒ Object
32
33
34
|
# File 'lib/faker/elder_scrolls.rb', line 32
def last_name
fetch('elder_scrolls.last_name')
end
|
.name ⇒ Object
24
25
26
|
# File 'lib/faker/elder_scrolls.rb', line 24
def name
"#{fetch('elder_scrolls.first_name')} #{fetch('elder_scrolls.last_name')}"
end
|
.race ⇒ Object
4
5
6
|
# File 'lib/faker/elder_scrolls.rb', line 4
def race
fetch('elder_scrolls.race')
end
|
.region ⇒ Object
16
17
18
|
# File 'lib/faker/elder_scrolls.rb', line 16
def region
fetch('elder_scrolls.region')
end
|