Sha256: bff00bb0c7470528e0d6cdf1671a66c6a58b4789c40b4a2de9dc10e391394023

Contents?: true

Size: 301 Bytes

Versions: 6

Compression:

Stored size: 301 Bytes

Contents

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

    def to_s
      "<index not found>"
    end

    def to_json options = {}
      as_json.to_json options
    end

    def as_json options = {}
      to_s
    end

    def empty?
      true
    end
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pact-1.1.0.rc2 lib/pact/matchers/index_not_found.rb
pact-1.0.38 lib/pact/matchers/index_not_found.rb
pact-1.1.0.rc1 lib/pact/matchers/index_not_found.rb
pact-1.0.37 lib/pact/matchers/index_not_found.rb
pact-1.0.36 lib/pact/matchers/index_not_found.rb
pact-1.0.35 lib/pact/matchers/index_not_found.rb