Class/Module Index [+]

Quicksearch

RSpec::Matchers::BuiltIn::BeNil

@api private Provides the implementation for `be_nil`. Not intended to be instantiated directly.

Public Instance Methods

failure_message() click to toggle source

@api private @return [String]

# File lib/rspec/matchers/built_in/be.rb, line 56
def failure_message
  "expected: nil\n     got: #{actual.inspect}"
end
failure_message_when_negated() click to toggle source

@api private @return [String]

# File lib/rspec/matchers/built_in/be.rb, line 62
def failure_message_when_negated
  "expected: not nil\n     got: nil"
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.