Sha256: 6c1f65929ba752f44d2afbc7710c201039c4dc57c1feddcce63026b46ce8daf7

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 KB

Contents

# frozen_string_literal: true

module Faker
  class Movies
    class Departed < Base
      class << self
        ##
        # Produces an actor from The Departed.
        #
        # @return [String]
        #
        # @example
        #   Faker::Movies::Departed.actor #=> "Matt Damon"
        #
        # @faker.version next
        def actor
          fetch('departed.actors')
        end

        ##
        # Produces a character from The Departed.
        #
        # @return [String]
        #
        # @example
        #   Faker::Movies::Departed.character #=> "Frank Costello"
        #
        # @faker.version next
        def character
          fetch('departed.characters')
        end

        ##
        # Produces a quote from The Departed.
        #
        # @return [String]
        #
        # @example
        #   Faker::Movies::Departed.quote
        #     #=> "I'm the guy who does his job. You must be the other guy"
        #
        # @faker.version next
        def quote
          fetch('departed.quotes')
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
faker-2.12.0 lib/faker/movies/departed.rb