class Faker::TvShows::Simpsons

Public Class Methods

character() click to toggle source

Produces a character from The Simpsons.

@return [String]

@example

Faker::TvShows::Simpsons.character #=> "Charles Montgomery Burns"

@faker.version 1.8.0

# File lib/faker/tv_shows/simpsons.rb, line 18
def character
  fetch('simpsons.characters')
end
episode_title() click to toggle source

Produces an episode title from The Simpsons.

@return [String]

@example

Faker::TvShows::Simpsons.episode_title
  #=> "Two Cars in Every Garage and Three Eyes on Every Fish"

@faker.version 2.13.0

# File lib/faker/tv_shows/simpsons.rb, line 59
def episode_title
  fetch('simpsons.episode_titles')
end
location() click to toggle source

Produces a location from The Simpsons.

@return [String]

@example

Faker::TvShows::Simpsons.location #=> "Moe's Tavern"

@faker.version 1.8.0

# File lib/faker/tv_shows/simpsons.rb, line 31
def location
  fetch('simpsons.locations')
end
quote() click to toggle source

Produces a quote from The Simpsons.

@return [String]

@example

Faker::TvShows::Simpsons.quote
  #=> "It takes two to lie: one to lie and one to listen."

@faker.version 1.8.0

# File lib/faker/tv_shows/simpsons.rb, line 45
def quote
  fetch('simpsons.quotes')
end