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
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