Class: Rrrex::OrMatch
- Includes:
- CompositeMatch
- Defined in:
- lib/rrrex/or_match.rb
Instance Method Summary collapse
Methods included from CompositeMatch
Methods inherited from Match
#+, convert, #group_names, #match, #not, #or, #wrap
Instance Method Details
#to_regexp_string ⇒ Object
6 7 8 |
# File 'lib/rrrex/or_match.rb', line 6 def to_regexp_string wrap @atoms.map {|p| p.to_regexp_string }.join "|" end |