Class: Pact::KeyNotFound

Inherits:
DifferenceIndicator show all
Defined in:
lib/pact/shared/key_not_found.rb

Instance Method Summary collapse

Methods inherited from DifferenceIndicator

#==, #as_json, #eql?, #to_json

Methods included from ActiveSupportSupport

#fix_all_the_things, #fix_json_formatting, #fix_regexp, #remove_unicode, #warn_about_regexp

Instance Method Details

#empty?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/pact/shared/key_not_found.rb', line 10

def empty?
  true
end

#to_sObject



6
7
8
# File 'lib/pact/shared/key_not_found.rb', line 6

def to_s
  "<key not found>"
end