Class: Faker::TvShows::Community

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/tv_shows/community.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, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, translate, unique, with_locale

Class Method Details

.charactersString

Produces a character from Community.

Examples:

Faker::TvShows::Community.characters #=> "Jeff Winger"

Returns:

  • (String)

Available since:

  • 1.9.0


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

def characters
  fetch('community.characters')
end

.quotesString

Produces a quote from Community.

Examples:

Faker::TvShows::Community.quotes
  #=> "I fear a political career could shine a negative light on my drug dealing."

Returns:

  • (String)

Available since:

  • 1.9.0


32
33
34
# File 'lib/faker/tv_shows/community.rb', line 32

def quotes
  fetch('community.quotes')
end