Class: Matchi::Matchers::BeNil::Matcher
- Inherits:
-
Object
- Object
- Matchi::Matchers::BeNil::Matcher
- Includes:
- Matchi::MatchersBase
- Defined in:
- lib/matchi/matchers/be_nil.rb
Overview
The matcher.
Instance Method Summary collapse
-
#matches? ⇒ Boolean
Boolean comparison between the actual value and the expected value.
Methods included from Matchi::MatchersBase
Instance Method Details
#matches? ⇒ Boolean
Boolean comparison between the actual value and the expected value.
24 25 26 |
# File 'lib/matchi/matchers/be_nil.rb', line 24 def matches? nil.equal?(yield) end |