Sha256: c2a812bba633ea880e07b4f13a49417cc29fc2f7ce1344f8be26a2c3210106d9

Contents?: true

Size: 277 Bytes

Versions: 19

Compression:

Stored size: 277 Bytes

Contents

module Pact
  class KeyNotFound
    def == other
      other.is_a? KeyNotFound
    end

    def eql? other
      self == other
    end

    def to_s
      "<key not found>"
    end

    def to_json options = {}
      to_s
    end

    def empty?
      true
    end
  end  

end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
pact-1.0.31 lib/pact/shared/key_not_found.rb
pact-1.0.30 lib/pact/shared/key_not_found.rb
pact-1.0.29 lib/pact/shared/key_not_found.rb
pact-1.0.28 lib/pact/shared/key_not_found.rb
pact-1.0.27 lib/pact/shared/key_not_found.rb
pact-1.0.26 lib/pact/shared/key_not_found.rb
pact-1.0.25 lib/pact/shared/key_not_found.rb
pact-1.0.24 lib/pact/shared/key_not_found.rb
pact-1.0.23 lib/pact/shared/key_not_found.rb
pact-1.0.22 lib/pact/shared/key_not_found.rb
pact-1.0.21 lib/pact/shared/key_not_found.rb
pact-1.0.20 lib/pact/shared/key_not_found.rb
pact-1.0.19 lib/pact/shared/key_not_found.rb
pact-1.0.18 lib/pact/shared/key_not_found.rb
pact-1.0.15 lib/pact/shared/key_not_found.rb
pact-1.0.13 lib/pact/shared/key_not_found.rb
pact-1.0.12 lib/pact/shared/key_not_found.rb
pact-1.0.11 lib/pact/shared/key_not_found.rb
pact-1.0.10 lib/pact/shared/key_not_found.rb