Class: Regexp
Instance Method Summary collapse
Instance Method Details
#union_with_array_argument(*arg) ⇒ Object
5 6 7 8 |
# File 'lib/backports/1.8.7/regexp.rb', line 5 def union_with_array_argument(*arg) return union_without_array_argument(*arg) unless arg.size == 1 union_without_array_argument(*arg.first) end |