Sha256: d9c7e70a18ef6a671c262f695b2d77a974e3e7af1f4c18885ea198e4665b460b

Contents?: true

Size: 271 Bytes

Versions: 6

Compression:

Stored size: 271 Bytes

Contents

module Pact
  class UnexpectedIndex

    def == other
      other.is_a? UnexpectedIndex
    end

    def to_s
      '<index not to exist>'
    end

    def as_json options = {}
      to_s
    end

    def to_json opts = {}
      as_json.to_json options
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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