lib/require_smasher.rb in require_smasher-0.4.0 vs lib/require_smasher.rb in require_smasher-0.4.1

- old
+ new

@@ -11,13 +11,12 @@ require 'require_smasher/errors/not_exist_error/dir_not_exist_error' require 'require_smasher/errors/require_file_error' def require_all(*required_list) classified = Classifier.classify(required_list) - gems = classified[:gems] files = classified[:files] - gems.uniq.each { |gem| require gem } unless gems.empty? + classified[:gems].uniq.each { |gem| require gem } RequireFile.require(files) unless files.empty? end def require_gem(gem) require gem