Sha256: fa09431980fbc94216e602080da77ac1c70bdc58e920b262cff59c2c762b64d7

Contents?: true

Size: 747 Bytes

Versions: 1

Compression:

Stored size: 747 Bytes

Contents

# frozen_string_literal: true

module Faker
  class TvShows
    class Suits < Base
      flexible :suits

      class << self
        ##
        # Produces a character from Suits.
        #
        # @return [String]
        #
        # @example
        #   Faker::TvShows::Suits.character #=> "Harvey Specter"
        #
        # @faker.version next
        def character
          fetch('suits.characters')
        end

        ##
        # Produces a quote from Suits.
        #
        # @return [String]
        #
        # @example
        # Faker::TvShows::Suits.quote #=> "Don't play the odds, play the man."
        #
        # @faker.version next
        def quote
          fetch('suits.quotes')
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
faker-2.12.0 lib/faker/tv_shows/suits.rb