Class: Faker::TvShows::TheITCrowd

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

.actorString

Produces an actor from The IT Crowd.

Examples:

Faker::TvShows::TheITCrowd.actor #=> "Chris O'Dowd"

Returns:

  • (String)

Available since:

  • 1.9.0


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

def actor
  fetch('the_it_crowd.actors')
end

.characterString

Produces a character from The IT Crowd.

Examples:

Faker::TvShows::TheITCrowd.character #=> "Roy Trenneman"

Returns:

  • (String)

Available since:

  • 1.9.0


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

def character
  fetch('the_it_crowd.characters')
end

.emailString

Produces an email from The IT Crowd.

Examples:

Faker::TvShows::TheITCrowd.email #=> "[email protected]"

Returns:

  • (String)

Available since:

  • 1.9.0


44
45
46
# File 'lib/faker/tv_shows/the_it_crowd.rb', line 44

def email
  fetch('the_it_crowd.emails')
end

.quoteString

Produces a quote from The IT Crowd.

Examples:

Faker::TvShows::TheITCrowd.quote
  #=> "Hello, IT. Have you tried turning it off and on again?"

Returns:

  • (String)

Available since:

  • 1.9.0


58
59
60
# File 'lib/faker/tv_shows/the_it_crowd.rb', line 58

def quote
  fetch('the_it_crowd.quotes')
end