Sha256: a5749c0f8b098f1f07d73cc7ce95dbe817373caf800cb494da07061ba87946be

Contents?: true

Size: 1.12 KB

Versions: 36

Compression:

Stored size: 1.12 KB

Contents

# frozen_string_literal: true

module Faker
  class TvShows
    class RickAndMorty < Base
      flexible :rick_and_morty

      class << self
        ##
        # Produces a character from Rick and Morty.
        #
        # @return [String]
        #
        # @example
        #   Faker::TvShows::RickAndMorty.character #=> "Rick Sanchez"
        #
        # @faker.version 1.8.0
        def character
          fetch('rick_and_morty.characters')
        end

        ##
        # Produces a location from Rick and Morty.
        #
        # @return [String]
        #
        # @example
        #   Faker::TvShows::RickAndMorty.location #=> "Dimension C-132"
        #
        # @faker.version 1.8.0
        def location
          fetch('rick_and_morty.locations')
        end

        ##
        # Produces a quote from Rick and Morty.
        #
        # @return [String]
        #
        # @example
        #   Faker::TvShows::RickAndMorty.quote
        #     #=> "Ohh yea, you gotta get schwifty."
        #
        # @faker.version 1.8.0
        def quote
          fetch('rick_and_morty.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/rick_and_morty.rb
faker-3.4.2 lib/faker/tv_shows/rick_and_morty.rb
faker-3.4.1 lib/faker/tv_shows/rick_and_morty.rb
faker-3.3.1 lib/faker/tv_shows/rick_and_morty.rb
faker-3.3.0 lib/faker/tv_shows/rick_and_morty.rb
faker-3.2.3 lib/faker/tv_shows/rick_and_morty.rb
faker-3.2.2 lib/faker/tv_shows/rick_and_morty.rb
faker-3.2.1 lib/faker/tv_shows/rick_and_morty.rb
faker-3.2.0 lib/faker/tv_shows/rick_and_morty.rb
faker-3.1.1 lib/faker/tv_shows/rick_and_morty.rb
faker-3.1.0 lib/faker/tv_shows/rick_and_morty.rb
faker-3.0.0 lib/faker/tv_shows/rick_and_morty.rb
faker-2.23.0 lib/faker/tv_shows/rick_and_morty.rb
faker-2.22.0 lib/faker/tv_shows/rick_and_morty.rb
faker-2.21.0 lib/faker/tv_shows/rick_and_morty.rb
faker-2.20.0 lib/faker/tv_shows/rick_and_morty.rb
faker-2.19.0 lib/faker/tv_shows/rick_and_morty.rb
logstash-output-scalyr-0.1.7 vendor/bundle/jruby/2.5.0/bundler/gems/faker-e1bd4a5a5777/lib/faker/tv_shows/rick_and_morty.rb
faker-2.18.0 lib/faker/tv_shows/rick_and_morty.rb
faker-2.17.0 lib/faker/tv_shows/rick_and_morty.rb