Sha256: 13b303e86bd6394db381c403967ad7ed3179e00df42742867f19839509fd6c72

Contents?: true

Size: 1.01 KB

Versions: 23

Compression:

Stored size: 1.01 KB

Contents

# frozen_string_literal: true

module Faker
  class JapaneseMedia
    class Conan < Base
      class << self
        ##
        # Produces a character from Conan.
        #
        # @return [String]
        #
        # @example
        #   Faker::JapaneseMedia::Conan.character #=> "Conan Edogawa"
        #
        # @faker.version next
        def character
          fetch('conan.characters')
        end

        ##
        # Produces a gadget from Conan.
        #
        # @return [String]
        #
        # @example
        #   Faker::JapaneseMedia::Conan.gadget #=> "Voice-Changing Bowtie"
        #
        # @faker.version next
        def gadget
          fetch('conan.gadgets')
        end

        ##
        # Produces a vehicle from Conan.
        #
        # @return [String]
        #
        # @example
        #   Faker::JapaneseMedia::Conan.vehicle #=> "Agasa's Volkswagen Beetle"
        #
        # @faker.version next
        def vehicle
          fetch('conan.vehicles')
        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/conan.rb
faker-3.4.2 lib/faker/japanese_media/conan.rb
faker-3.4.1 lib/faker/japanese_media/conan.rb
faker-3.3.1 lib/faker/japanese_media/conan.rb
faker-3.3.0 lib/faker/japanese_media/conan.rb
faker-3.2.3 lib/faker/japanese_media/conan.rb
faker-3.2.2 lib/faker/japanese_media/conan.rb
faker-3.2.1 lib/faker/japanese_media/conan.rb
faker-3.2.0 lib/faker/japanese_media/conan.rb
faker-3.1.1 lib/faker/japanese_media/conan.rb
faker-3.1.0 lib/faker/japanese_media/conan.rb
faker-3.0.0 lib/faker/japanese_media/conan.rb
faker-2.23.0 lib/faker/japanese_media/conan.rb
faker-2.22.0 lib/faker/japanese_media/conan.rb
faker-2.21.0 lib/faker/japanese_media/conan.rb
faker-2.20.0 lib/faker/japanese_media/conan.rb
faker-2.19.0 lib/faker/japanese_media/conan.rb
logstash-output-scalyr-0.1.7 vendor/bundle/jruby/2.5.0/bundler/gems/faker-e1bd4a5a5777/lib/faker/japanese_media/conan.rb
faker-2.18.0 lib/faker/japanese_media/conan.rb
faker-2.17.0 lib/faker/japanese_media/conan.rb