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