Class: Matchi::Matchers::BeTrue::Matcher
- Inherits:
-
Object
- Object
- Matchi::Matchers::BeTrue::Matcher
- Includes:
- Matchi::MatchersBase
- Defined in:
- lib/matchi/matchers/be_true.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.
22 23 24 |
# File 'lib/matchi/matchers/be_true.rb', line 22 def matches? true.equal?(yield) end |