Method: Faker::Games::Fallout.location

Defined in:
lib/faker/games/fallout.rb

.locationString

Produces the name of a location from the Fallout games.

Examples:

Faker::Games::Fallout.location #=> "New Vegas"

Returns:

  • (String)

Available since:

  • 1.9.2



42
43
44
# File 'lib/faker/games/fallout.rb', line 42

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