Class: Pact::IndexNotFound

Inherits:
Object
  • Object
show all
Defined in:
lib/pact/matchers/index_not_found.rb

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



3
4
5
# File 'lib/pact/matchers/index_not_found.rb', line 3

def == other
  other.is_a? IndexNotFound
end

#empty?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'lib/pact/matchers/index_not_found.rb', line 15

def empty?
  true
end

#to_json(options = {}) ⇒ Object



11
12
13
# File 'lib/pact/matchers/index_not_found.rb', line 11

def to_json options = {}
  to_s
end

#to_sObject



7
8
9
# File 'lib/pact/matchers/index_not_found.rb', line 7

def to_s
  "<index not found>"
end