Class: Faker::Games::Fallout

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

.characterObject



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

def character
  fetch('games.fallout.characters')
end

.factionObject



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

def faction
  fetch('games.fallout.factions')
end

.locationObject



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

def location
  fetch('games.fallout.locations')
end

.quoteObject



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

def quote
  fetch('games.fallout.quotes')
end