Module: Wood::TreePattern::CombinatorialMatching
- Included in:
- OrMatcher
- Defined in:
- lib/wood/tree_pattern/or_matcher.rb
Instance Method Summary collapse
-
#|(other) ⇒ OrMatcher
Matcher that matches ‘self` or `other`.
Instance Method Details
#|(other) ⇒ OrMatcher
4 5 6 |
# File 'lib/wood/tree_pattern/or_matcher.rb', line 4 def | other OrMatcher.new(self, other) end |