Class: Regexp

Inherits:
Object
  • Object
show all
Defined in:
lib/environment.rb

Class Method Summary collapse

Class Method Details

.union(*arg) ⇒ Object



67
68
69
70
71
72
# File 'lib/environment.rb', line 67

def union *arg
    if arg.size == 1 and arg[0].is_a? Array
        arg = arg[0]
    end
    union_pre187 *arg
end

.union_pre187Object



66
# File 'lib/environment.rb', line 66

alias :union_pre187 :union