Sha256: 258e004feb8ddb4c431a019177d0f7b0190d47373299536d6d1dd774eb80eeb6

Contents?: true

Size: 245 Bytes

Versions: 3

Compression:

Stored size: 245 Bytes

Contents

module Pact
  class UnexpectedKey

    def == other
      other.is_a? UnexpectedKey
    end

    def to_s
      '<key not to exist>'
    end

    def as_json options = {}
      to_s
    end

    def to_json opts = {}
      to_s
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pact-1.0.34 lib/pact/matchers/unexpected_key.rb
pact-1.0.33 lib/pact/matchers/unexpected_key.rb
pact-1.0.32 lib/pact/matchers/unexpected_key.rb