Class: Matchi::BeFalse Private
- Inherits:
- BasicObject
- Defined in:
- lib/matchi/be_false.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Untruth matcher.
Instance Method Summary collapse
-
#matches? ⇒ Boolean
private
Comparison between actual and expected values.
Instance Method Details
#matches? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns Comparison between actual and expected values.
5 6 7 |
# File 'lib/matchi/be_false.rb', line 5 def matches? false.equal?(yield) end |