@api private Provides the implementation for `exist`. Not intended to be instantiated directly.
@api private @return [Boolean]
# File lib/rspec/matchers/built_in/exist.rb, line 22 def does_not_match?(actual) @actual = actual @test = ExistenceTest.new @actual, @expected @test.valid_test? && !@test.actual_exists? end
@api private @return [String]
# File lib/rspec/matchers/built_in/exist.rb, line 30 def failure_message "expected #{@actual.inspect} to exist#{@test.validity_message}" end
Generated with the Darkfish Rdoc Generator 2.