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