Sha256: 8e6e784ac74f0d47a827ad69fbddfbb8712138db26aedd635413d097276e525a

Contents?: true

Size: 322 Bytes

Versions: 3

Compression:

Stored size: 322 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 as_json options={}
      to_s
    end

    def to_json options = {}
      to_s
    end

    def empty?
      true
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pact-1.0.34 lib/pact/shared/key_not_found.rb
pact-1.0.33 lib/pact/shared/key_not_found.rb
pact-1.0.32 lib/pact/shared/key_not_found.rb