Sha256: fda4a9cac789cfd0a93172a84439449630992e593c1e3eac3986b76128bdb87a

Contents?: true

Size: 1.08 KB

Versions: 36

Compression:

Stored size: 1.08 KB

Contents

# frozen_string_literal: true

module Faker
  class TvShows
    class TwinPeaks < Base
      flexible :twin_peaks

      class << self
        ##
        # Produces a character from Twin Peaks.
        #
        # @return [String]
        #
        # @example
        #   Faker::TvShows::TwinPeaks.character #=> "Dale Cooper"
        #
        # @faker.version 1.7.0
        def character
          fetch('twin_peaks.characters')
        end

        ##
        # Produces a location from Twin Peaks.
        #
        # @return [String]
        #
        # @example
        #   Faker::TvShows::TwinPeaks.location #=> "Black Lodge"
        #
        # @faker.version 1.7.0
        def location
          fetch('twin_peaks.locations')
        end

        ##
        # Produces a quote from Twin Peaks.
        #
        # @return [String]
        #
        # @example
        #   Faker::TvShows::TwinPeaks.quote
        #     #=> "The owls are not what they seem."
        #
        # @faker.version 1.7.0
        def quote
          fetch('twin_peaks.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/twin_peaks.rb
faker-3.4.2 lib/faker/tv_shows/twin_peaks.rb
faker-3.4.1 lib/faker/tv_shows/twin_peaks.rb
faker-3.3.1 lib/faker/tv_shows/twin_peaks.rb
faker-3.3.0 lib/faker/tv_shows/twin_peaks.rb
faker-3.2.3 lib/faker/tv_shows/twin_peaks.rb
faker-3.2.2 lib/faker/tv_shows/twin_peaks.rb
faker-3.2.1 lib/faker/tv_shows/twin_peaks.rb
faker-3.2.0 lib/faker/tv_shows/twin_peaks.rb
faker-3.1.1 lib/faker/tv_shows/twin_peaks.rb
faker-3.1.0 lib/faker/tv_shows/twin_peaks.rb
faker-3.0.0 lib/faker/tv_shows/twin_peaks.rb
faker-2.23.0 lib/faker/tv_shows/twin_peaks.rb
faker-2.22.0 lib/faker/tv_shows/twin_peaks.rb
faker-2.21.0 lib/faker/tv_shows/twin_peaks.rb
faker-2.20.0 lib/faker/tv_shows/twin_peaks.rb
faker-2.19.0 lib/faker/tv_shows/twin_peaks.rb
logstash-output-scalyr-0.1.7 vendor/bundle/jruby/2.5.0/bundler/gems/faker-e1bd4a5a5777/lib/faker/tv_shows/twin_peaks.rb
faker-2.18.0 lib/faker/tv_shows/twin_peaks.rb
faker-2.17.0 lib/faker/tv_shows/twin_peaks.rb