Sha256: cbffdc71c551e7d1b25843f5ab93ad803d8a97e2ec0bcae0c01fa1cc13bdde3b

Contents?: true

Size: 536 Bytes

Versions: 4

Compression:

Stored size: 536 Bytes

Contents

module Faker
  class Dog < Base
    flexible :dog

    class << self
      def name
        fetch('dog.name')
      end

      def breed
        fetch('dog.breed')
      end

      def sound
        fetch('dog.sound')
      end

      def meme_phrase
        fetch('dog.meme_phrase')
      end

      def age
        fetch('dog.age')
      end

      def gender
        fetch('dog.gender')
      end

      def coat_length
        fetch('dog.coat_length')
      end

      def size
        fetch('dog.size')
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
faker-1.9.1 lib/faker/dog.rb
faker-1.8.7 lib/faker/dog.rb
faker-1.8.6 lib/faker/dog.rb
faker-1.8.5 lib/faker/dog.rb