Class: Matchi::Matchers::BeFalse::Matcher
- Inherits:
-
Object
- Object
- Matchi::Matchers::BeFalse::Matcher
- Includes:
- Matchi::MatchersBase
- Defined in:
- lib/matchi/matchers/be_false.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_false.rb', line 24 def matches?(*, **) false.equal?(yield) end |