Sha256: 26d06546f0e3f2f7d7285e69e9ef4e26f80b225d39ba543a83870e3389e7e679

Contents?: true

Size: 751 Bytes

Versions: 4

Compression:

Stored size: 751 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 2.13.0
        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 2.13.0
        def quote
          fetch('suits.quotes')
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
faker-2.15.1 lib/faker/tv_shows/suits.rb
faker-2.15.0 lib/faker/tv_shows/suits.rb
faker-2.14.0 lib/faker/tv_shows/suits.rb
faker-2.13.0 lib/faker/tv_shows/suits.rb