Sha256: 092173b1b173fef83b3b9cb016edbad0ae42953bd8d28436bbe18ab55edb4945

Contents?: true

Size: 1.12 KB

Versions: 23

Compression:

Stored size: 1.12 KB

Contents

# frozen_string_literal: true

module Faker
  class JapaneseMedia
    class StudioGhibli < Base
      class << self
        ##
        # Produces a character from the Studio Ghibli.
        #
        # @return [String]
        #
        # @example
        #   Faker::JapaneseMedia::StudioGhibli.character #=> "Chihiro"
        #
        # @faker.version next
        def character
          fetch('studio_ghibli.characters')
        end

        ##
        # Produces a quote from Studio Ghibli's movies.
        #
        # @return [String]
        #
        # @example
        #   Faker::JapaneseMedia::StudioGhibli.quote #=> "One thing you can always count on is that hearts change."
        #
        # @faker.version next
        def quote
          fetch('studio_ghibli.quotes')
        end

        ##
        # Produces a movie from Studio Ghibli.
        #
        # @return [String]
        #
        # @example
        #   Faker::JapaneseMedia::StudioGhibli.movie #=> "Kiki's Delivery Service"
        #
        # @faker.version next
        def movie
          fetch('studio_ghibli.movies')
        end
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
faker-3.5.1 lib/faker/japanese_media/studio_ghibli.rb
faker-3.4.2 lib/faker/japanese_media/studio_ghibli.rb
faker-3.4.1 lib/faker/japanese_media/studio_ghibli.rb
faker-3.3.1 lib/faker/japanese_media/studio_ghibli.rb
faker-3.3.0 lib/faker/japanese_media/studio_ghibli.rb
faker-3.2.3 lib/faker/japanese_media/studio_ghibli.rb
faker-3.2.2 lib/faker/japanese_media/studio_ghibli.rb
faker-3.2.1 lib/faker/japanese_media/studio_ghibli.rb
faker-3.2.0 lib/faker/japanese_media/studio_ghibli.rb
faker-3.1.1 lib/faker/japanese_media/studio_ghibli.rb
faker-3.1.0 lib/faker/japanese_media/studio_ghibli.rb
faker-3.0.0 lib/faker/japanese_media/studio_ghibli.rb
faker-2.23.0 lib/faker/japanese_media/studio_ghibli.rb
faker-2.22.0 lib/faker/japanese_media/studio_ghibli.rb
faker-2.21.0 lib/faker/japanese_media/studio_ghibli.rb
faker-2.20.0 lib/faker/japanese_media/studio_ghibli.rb
faker-2.19.0 lib/faker/japanese_media/studio_ghibli.rb
logstash-output-scalyr-0.1.7 vendor/bundle/jruby/2.5.0/bundler/gems/faker-e1bd4a5a5777/lib/faker/japanese_media/studio_ghibli.rb
faker-2.18.0 lib/faker/japanese_media/studio_ghibli.rb
faker-2.17.0 lib/faker/japanese_media/studio_ghibli.rb