Class: Faker::Games::ElderScrolls

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/games/elder_scrolls.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

.cityObject


11
12
13
# File 'lib/faker/games/elder_scrolls.rb', line 11

def city
  fetch('games.elder_scrolls.city')
end

.creatureObject


15
16
17
# File 'lib/faker/games/elder_scrolls.rb', line 15

def creature
  fetch('games.elder_scrolls.creature')
end

.dragonObject


23
24
25
# File 'lib/faker/games/elder_scrolls.rb', line 23

def dragon
  fetch('games.elder_scrolls.dragon')
end

.first_nameObject


31
32
33
# File 'lib/faker/games/elder_scrolls.rb', line 31

def first_name
  fetch('games.elder_scrolls.first_name')
end

.last_nameObject


35
36
37
# File 'lib/faker/games/elder_scrolls.rb', line 35

def last_name
  fetch('games.elder_scrolls.last_name')
end

.nameObject


27
28
29
# File 'lib/faker/games/elder_scrolls.rb', line 27

def name
  "#{fetch('games.elder_scrolls.first_name')} #{fetch('games.elder_scrolls.last_name')}"
end

.raceObject


7
8
9
# File 'lib/faker/games/elder_scrolls.rb', line 7

def race
  fetch('games.elder_scrolls.race')
end

.regionObject


19
20
21
# File 'lib/faker/games/elder_scrolls.rb', line 19

def region
  fetch('games.elder_scrolls.region')
end