Class: Faker::Games::ElderScrolls
- Defined in:
- lib/faker/games/elder_scrolls.rb
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.city ⇒ String
Produces the name of a city from the Elder Scrolls universe.
-
.creature ⇒ String
Produces the name of a creature from the Elder Scrolls universe.
-
.dragon ⇒ String
Produces the name of a dragon from the Elder Scrolls universe.
-
.first_name ⇒ String
Produces a first name from the Elder Scrolls universe.
-
.jewelry ⇒ String
Produces a weapon from the Elder Scrolls universe.
-
.last_name ⇒ String
Produces a last name from the Elder Scrolls universe.
-
.name ⇒ String
Produces a randomly generated name from the Elder Scrolls universe.
-
.race ⇒ String
Produces the name of a race from the Elder Scrolls universe.
-
.region ⇒ String
Produces the name of a region from the Elder Scrolls universe.
-
.weapon ⇒ String
Produces a weapon from the Elder Scrolls universe.
Methods inherited from Base
bothify, disable_enforce_available_locales, fetch, fetch_all, flexible, generate, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, shuffle!, translate, unique, with_locale
Class Method Details
.city ⇒ String
Produces the name of a city from the Elder Scrolls universe.
29 30 31 |
# File 'lib/faker/games/elder_scrolls.rb', line 29 def city fetch('games.elder_scrolls.city') end |
.creature ⇒ String
Produces the name of a creature from the Elder Scrolls universe.
42 43 44 |
# File 'lib/faker/games/elder_scrolls.rb', line 42 def creature fetch('games.elder_scrolls.creature') end |
.dragon ⇒ String
Produces the name of a dragon from the Elder Scrolls universe.
68 69 70 |
# File 'lib/faker/games/elder_scrolls.rb', line 68 def dragon fetch('games.elder_scrolls.dragon') end |
.first_name ⇒ String
Produces a first name from the Elder Scrolls universe.
94 95 96 |
# File 'lib/faker/games/elder_scrolls.rb', line 94 def first_name fetch('games.elder_scrolls.first_name') end |
.jewelry ⇒ String
Produces a weapon from the Elder Scrolls universe.
133 134 135 |
# File 'lib/faker/games/elder_scrolls.rb', line 133 def jewelry fetch('games.elder_scrolls.jewelry') end |
.last_name ⇒ String
Produces a last name from the Elder Scrolls universe.
107 108 109 |
# File 'lib/faker/games/elder_scrolls.rb', line 107 def last_name fetch('games.elder_scrolls.last_name') end |
.name ⇒ String
Produces a randomly generated name from the Elder Scrolls universe.
81 82 83 |
# File 'lib/faker/games/elder_scrolls.rb', line 81 def name "#{fetch('games.elder_scrolls.first_name')} #{fetch('games.elder_scrolls.last_name')}" end |
.race ⇒ String
Produces the name of a race from the Elder Scrolls universe.
16 17 18 |
# File 'lib/faker/games/elder_scrolls.rb', line 16 def race fetch('games.elder_scrolls.race') end |
.region ⇒ String
Produces the name of a region from the Elder Scrolls universe.
55 56 57 |
# File 'lib/faker/games/elder_scrolls.rb', line 55 def region fetch('games.elder_scrolls.region') end |
.weapon ⇒ String
Produces a weapon from the Elder Scrolls universe.
120 121 122 |
# File 'lib/faker/games/elder_scrolls.rb', line 120 def weapon fetch('games.elder_scrolls.weapon') end |