class Pact::NullExpectation

Public Instance Methods

==(other_object) click to toggle source
# File lib/pact/shared/null_expectation.rb, line 7
def ==(other_object)
 other_object.is_a? NullExpectation
end
===(other_object) click to toggle source
# File lib/pact/shared/null_expectation.rb, line 11
def ===(other_object)
 other_object.is_a? NullExpectation
end
empty?() click to toggle source
# File lib/pact/shared/null_expectation.rb, line 23
def empty?
  true
end
eql?(other_object) click to toggle source
# File lib/pact/shared/null_expectation.rb, line 15
def eql?(other_object)
  self == other_object
end
hash() click to toggle source
# File lib/pact/shared/null_expectation.rb, line 19
def hash
  2934820948209428748274238642672
end
nil?() click to toggle source
# File lib/pact/shared/null_expectation.rb, line 27
def nil?
  true
end
to_s() click to toggle source
# File lib/pact/shared/null_expectation.rb, line 3
def to_s
  "<No expectation>"
end