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-1.0.12 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.11 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.10 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.9 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.8 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.7 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.6 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.5 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.4 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.3 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.2 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.1 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.0 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-0.1.37 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-0.1.35 example/zoo-app/lib/zoo_app/models/alligator.rb