Class: Faker::Fallout

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/fallout.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, sample, shuffle, translate, unique, with_locale

Class Method Details

.characterObject



4
5
6
# File 'lib/faker/fallout.rb', line 4

def character
  fetch('fallout.characters')
end

.factionObject



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

def faction
  fetch('fallout.factions')
end

.locationObject



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

def location
  fetch('fallout.locations')
end

.quoteObject



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

def quote
  fetch('fallout.quotes')
end