Method: Xr#|

Defined in:
lib/xr.rb

#|(other) ⇒ Object



37
38
39
40
# File 'lib/xr.rb', line 37

def | other
  @expr = @expr ? Regexp.union([@expr, other].map { parse(_1) }) : parse(other)
  self
end