lib/core/facets/binding.rb in facets-2.4.3 vs lib/core/facets/binding.rb in facets-2.4.4

- old
+ new

@@ -1,7 +1,6 @@ -require 'facets/binding/eval' - -require 'facets/binding/caller' -require 'facets/binding/defined' -require 'facets/binding/local_variables' -require 'facets/binding/self' +dir, base = *File.split(__FILE__) +base = base.chomp('.rb') +Dir[File.join(dir, base, '*')].each do |lib| + require "facets/#{base}/#{File.basename(lib)}" +end