Parent

Included Modules

Class Index [+]

Quicksearch

RSpec::Matchers::BuiltIn::BeNil

Public Instance Methods

failure_message_for_should() click to toggle source
    # File lib/rspec/matchers/built_in/be.rb, line 29
29:         def failure_message_for_should
30:           "expected: nil\n     got: #{actual.inspect}"
31:         end
failure_message_for_should_not() click to toggle source
    # File lib/rspec/matchers/built_in/be.rb, line 33
33:         def failure_message_for_should_not
34:           "expected: not nil\n     got: nil"
35:         end
matches?(actual) click to toggle source
    # File lib/rspec/matchers/built_in/be.rb, line 25
25:         def matches?(actual)
26:           super(actual).nil?
27:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.