class Faker::Games::Fallout
Public Class Methods
character()
click to toggle source
Produces the name of a character from the Fallout
games.
@return [String]
@example
Faker::Games::Fallout.character #=> "Liberty Prime"
@faker.version 1.9.2
# File lib/faker/games/fallout.rb, line 16 def character fetch('games.fallout.characters') end
faction()
click to toggle source
Produces the name of a faction from the Fallout
games.
@return [String]
@example
Faker::Games::Fallout.faction #=> "Brotherhood of Steel"
@faker.version 1.9.2
# File lib/faker/games/fallout.rb, line 29 def faction fetch('games.fallout.factions') end
location()
click to toggle source
Produces the name of a location from the Fallout
games.
@return [String]
@example
Faker::Games::Fallout.location #=> "New Vegas"
@faker.version 1.9.2
# File lib/faker/games/fallout.rb, line 42 def location fetch('games.fallout.locations') end
quote()
click to toggle source
Produces a quote from the Fallout
games.
@return [String]
@example
Faker::Games::Fallout.quote #=> "Democracy is non-negotiable"
@faker.version 1.9.2
# File lib/faker/games/fallout.rb, line 56 def quote fetch('games.fallout.quotes') end