Class: Faker::TvShows::Futurama

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/tv_shows/futurama.rb

Constant Summary

Constants inherited from Base

Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters

Class Method Summary collapse

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

.characterString

Produces a character from Futurama.

Examples:

Faker::TvShows::Futurama.character #=> "Amy Wong"

Returns:

  • (String)

Available since:

  • 2.13.0



18
19
20
# File 'lib/faker/tv_shows/futurama.rb', line 18

def character
  fetch('futurama.characters')
end

.hermes_catchphraseString

Produces a catchphrase from Hermes Conrad.

Examples:

Faker::TvShows::Futurama.hermes_catchphrase
  #=> "Great foo of bar!"

Returns:

  • (String)

Available since:

  • 2.13.0



59
60
61
# File 'lib/faker/tv_shows/futurama.rb', line 59

def hermes_catchphrase
  fetch('futurama.hermes_catchphrases')
end

.locationString

Produces a location from Futurama.

Examples:

Faker::TvShows::Futurama.location #=> "Wormulon"

Returns:

  • (String)

Available since:

  • 2.13.0



31
32
33
# File 'lib/faker/tv_shows/futurama.rb', line 31

def location
  fetch('futurama.locations')
end

.quoteString

Produces a quote from Futurama.

Examples:

Faker::TvShows::Futurama.quote
  #=> "Ugh, it's like a party in my mouth & everyone's throwing up."

Returns:

  • (String)

Available since:

  • 2.13.0



45
46
47
# File 'lib/faker/tv_shows/futurama.rb', line 45

def quote
  fetch('futurama.quotes')
end