Class: Faker::TvShows::Seinfeld

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/tv_shows/seinfeld.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

.businessString

Produces a business from Seinfeld.

Examples:

Faker::TvShows::Seinfeld.business #=> "Kruger Industrial Smoothing"

Returns:

  • (String)

Available since:

  • 1.9.2



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

def business
  fetch('seinfeld.business')
end

.characterString

Produces a character from Seinfeld.

Examples:

Faker::TvShows::Seinfeld.character #=> "George Costanza"

Returns:

  • (String)

Available since:

  • 1.8.3



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

def character
  fetch('seinfeld.character')
end

.quoteString

Produces a quote from Seinfeld.

Examples:

Faker::TvShows::Seinfeld.quote
  #=> "I'm not a lesbian. I hate men, but I'm not a lesbian."

Returns:

  • (String)

Available since:

  • 1.8.3



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

def quote
  fetch('seinfeld.quote')
end