Sha256: b785a14caca5694607bcd6439874e72795869bce455c40c9235542118a6a86a3

Contents?: true

Size: 259 Bytes

Versions: 3

Compression:

Stored size: 259 Bytes

Contents

module ZooApp
  module Animals
    class Alligator

      attr_reader :name

      def initialize attributes
        @name = attributes[:name]
      end

      def == other
        other.is_a?(Alligator) && other.name == self.name
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pact-1.4.0.rc4 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.4.0.rc3 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.4.0.rc2 example/zoo-app/lib/zoo_app/models/alligator.rb