Class: Tzu::Match::Matcher

Inherits:
Struct
  • Object
show all
Defined in:
lib/tzu/match.rb

Instance Method Summary collapse

Instance Method Details

#matches?(value) ⇒ Boolean

Returns:

  • (Boolean)


29
30
31
# File 'lib/tzu/match.rb', line 29

def matches?(value)
  condition.call(value)
end