Class: Faker::Games::Fallout
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.character ⇒ String
Produces the name of a character from the Fallout games.
-
.faction ⇒ String
Produces the name of a faction from the Fallout games.
-
.location ⇒ String
Produces the name of a location from the Fallout games.
-
.quote ⇒ String
Produces a quote from the Fallout games.
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
.character ⇒ String
Produces the name of a character from the Fallout games.
16 17 18 |
# File 'lib/faker/games/fallout.rb', line 16 def character fetch('games.fallout.characters') end |
.faction ⇒ String
Produces the name of a faction from the Fallout games.
29 30 31 |
# File 'lib/faker/games/fallout.rb', line 29 def faction fetch('games.fallout.factions') end |
.location ⇒ String
Produces the name of a location from the Fallout games.
42 43 44 |
# File 'lib/faker/games/fallout.rb', line 42 def location fetch('games.fallout.locations') end |
.quote ⇒ String
Produces a quote from the Fallout games.
56 57 58 |
# File 'lib/faker/games/fallout.rb', line 56 def quote fetch('games.fallout.quotes') end |