Class: Deterministic::PatternMatching::Match::Matcher
- Defined in:
- lib/deterministic/match.rb
Instance Method Summary collapse
Instance Method Details
#matches?(value) ⇒ Boolean
34 35 36 |
# File 'lib/deterministic/match.rb', line 34 def matches?(value) condition.call(value) end |