lib/core/facets/regexp.rb in facets-2.4.3 vs lib/core/facets/regexp.rb in facets-2.4.4
- old
+ new
@@ -1,3 +1,6 @@
-require 'facets/regexp/arity'
-require 'facets/regexp/to_re'
+dir, base = *File.split(__FILE__)
+base = base.chomp('.rb')
+Dir[File.join(dir, base, '*')].each do |lib|
+ require "facets/#{base}/#{File.basename(lib)}"
+end