Class: Tzu::Match::Matcher
- Inherits:
-
Struct
- Object
- Struct
- Tzu::Match::Matcher
- Defined in:
- lib/tzu/match.rb
Instance Method Summary collapse
Instance Method Details
#matches?(value) ⇒ Boolean
29 30 31 |
# File 'lib/tzu/match.rb', line 29 def matches?(value) condition.call(value) end |