Class: Matchi::BeTrue
- Inherits:
- BasicObject
- Defined in:
- lib/matchi/be_true.rb
Overview
Truth matcher.
Instance Method Summary collapse
-
#matches? ⇒ Boolean
Comparison between actual and expected values.
Instance Method Details
#matches? ⇒ Boolean
Returns Comparison between actual and expected values.
11 12 13 |
# File 'lib/matchi/be_true.rb', line 11 def matches? true.equal?(yield) end |