Sha256: 5a65c81217eabaf26ffa859733ab5412c04041ca6a4ced102d4a7a59c06dc5e2
Contents?: true
Size: 308 Bytes
Versions: 18
Compression:
Stored size: 308 Bytes
Contents
class Regexp class << self unless (union(%w(a b)) rescue false) def union_with_array_argument(*arg) return union_without_array_argument(*arg) unless arg.size == 1 union_without_array_argument(*arg.first) end alias_method_chain :union, :array_argument end end end
Version data entries
18 entries across 18 versions & 2 rubygems