Sha256: 135c04b55bc1a64cc075ff42dc734632ecf445faa29a87cad80adacc5c98c3a6

Contents?: true

Size: 594 Bytes

Versions: 25

Compression:

Stored size: 594 Bytes

Contents

# frozen_string_literal: true

module Faker
  class Quote < Base
    class << self
      def famous_last_words
        fetch('quote.famous_last_words')
      end

      def matz
        fetch('quote.matz')
      end

      def most_interesting_man_in_the_world
        fetch('quote.most_interesting_man_in_the_world')
      end

      def robin
        fetch('quote.robin')
      end

      def singular_siegler
        fetch('quote.singular_siegler')
      end

      # from: http://morecoolquotes.com/famous-yoda-quotes/
      def yoda
        fetch('quote.yoda')
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
faker-2.11.0 lib/faker/quotes/quote.rb
faker-2.10.2 lib/faker/quotes/quote.rb
faker-2.10.1 lib/faker/quotes/quote.rb
faker-2.10.0 lib/faker/quotes/quote.rb
faker-2.9.0 lib/faker/quotes/quote.rb
faker-2.8.1 lib/faker/quotes/quote.rb
faker-2.8.0 lib/faker/quotes/quote.rb
faker-2.7.0 lib/faker/quotes/quote.rb
faker-2.6.0 lib/faker/quotes/quote.rb
faker-2.5.0 lib/faker/quotes/quote.rb
faker-2.4.0 lib/faker/quotes/quote.rb
faker-2.3.0 lib/faker/quotes/quote.rb
faker-2.2.2 lib/faker/quotes/quote.rb
faker-2.2.1 lib/faker/quotes/quote.rb
faker-2.2.0 lib/faker/quotes/quote.rb
faker-2.1.2 lib/faker/quotes/quote.rb
faker-2.1.1 lib/faker/quotes/quote.rb
faker-2.1.0 lib/faker/quotes/quote.rb
faker-2.0.0 lib/faker/quotes/quote.rb
faker-2.0 lib/faker/quotes/quote.rb