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.35 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.34 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.33 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.32 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.31 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.30 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.29 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.28 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.27 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.26 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.25 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.24 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.23 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.22 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.21 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.20 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.19 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.18 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.15 example/zoo-app/lib/zoo_app/models/alligator.rb
pact-1.0.13 example/zoo-app/lib/zoo_app/models/alligator.rb