Sha256: 66227e2e7213e5f52e8b758a3478eb276279713fac1a8b5f431cb40ace74fae6

Contents?: true

Size: 1.41 KB

Versions: 36

Compression:

Stored size: 1.41 KB

Contents

# frozen_string_literal: true

module Faker
  class TvShows
    class TheITCrowd < Base
      flexible :the_it_crowd

      class << self
        ##
        # Produces an actor from The IT Crowd.
        #
        # @return [String]
        #
        # @example
        #   Faker::TvShows::TheITCrowd.actor #=> "Chris O'Dowd"
        #
        # @faker.version 1.9.0
        def actor
          fetch('the_it_crowd.actors')
        end

        ##
        # Produces a character from The IT Crowd.
        #
        # @return [String]
        #
        # @example
        #   Faker::TvShows::TheITCrowd.character #=> "Roy Trenneman"
        #
        # @faker.version 1.9.0
        def character
          fetch('the_it_crowd.characters')
        end

        ##
        # Produces an email from The IT Crowd.
        #
        # @return [String]
        #
        # @example
        #   Faker::TvShows::TheITCrowd.email #=> "roy.trenneman@reynholm.test"
        #
        # @faker.version 1.9.0
        def email
          fetch('the_it_crowd.emails')
        end

        ##
        # Produces a quote from The IT Crowd.
        #
        # @return [String]
        #
        # @example
        #   Faker::TvShows::TheITCrowd.quote
        #     #=> "Hello, IT. Have you tried turning it off and on again?"
        #
        # @faker.version 1.9.0
        def quote
          fetch('the_it_crowd.quotes')
        end
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 2 rubygems

Version Path
faker-3.5.1 lib/faker/tv_shows/the_it_crowd.rb
faker-3.4.2 lib/faker/tv_shows/the_it_crowd.rb
faker-3.4.1 lib/faker/tv_shows/the_it_crowd.rb
faker-3.3.1 lib/faker/tv_shows/the_it_crowd.rb
faker-3.3.0 lib/faker/tv_shows/the_it_crowd.rb
faker-3.2.3 lib/faker/tv_shows/the_it_crowd.rb
faker-3.2.2 lib/faker/tv_shows/the_it_crowd.rb
faker-3.2.1 lib/faker/tv_shows/the_it_crowd.rb
faker-3.2.0 lib/faker/tv_shows/the_it_crowd.rb
faker-3.1.1 lib/faker/tv_shows/the_it_crowd.rb
faker-3.1.0 lib/faker/tv_shows/the_it_crowd.rb
faker-3.0.0 lib/faker/tv_shows/the_it_crowd.rb
faker-2.23.0 lib/faker/tv_shows/the_it_crowd.rb
faker-2.22.0 lib/faker/tv_shows/the_it_crowd.rb
faker-2.21.0 lib/faker/tv_shows/the_it_crowd.rb
faker-2.20.0 lib/faker/tv_shows/the_it_crowd.rb
faker-2.19.0 lib/faker/tv_shows/the_it_crowd.rb
logstash-output-scalyr-0.1.7 vendor/bundle/jruby/2.5.0/bundler/gems/faker-e1bd4a5a5777/lib/faker/tv_shows/the_it_crowd.rb
faker-2.18.0 lib/faker/tv_shows/the_it_crowd.rb
faker-2.17.0 lib/faker/tv_shows/the_it_crowd.rb