Sha256: 216bedbfe07b0f715cc712a50aaf35699221fe8a8705fbae1799de48677582d8

Contents?: true

Size: 257 Bytes

Versions: 55

Compression:

Stored size: 257 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

55 entries across 55 versions & 2 rubygems

Version Path
pact-consumer-minitest-1.0.1 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-consumer-minitest-1.0.0 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.3.3 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-consumer-minitest-0.0.1 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.3.2 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.3.1 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.3.0 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.2.1.rc2 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.2.1.rc1 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.1.1 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.1.0 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.1.0.rc5 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.1.0.rc4 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.1.0.rc3 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.39 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.1.0.rc2 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.38 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.1.0.rc1 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.37 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.36 example/zoo-app/lib/zoo_app/models/alligator.rb