lib/loader/autoload/loader_patch.rb in loader-2.2.2 vs lib/loader/autoload/loader_patch.rb in loader-2.2.3
- old
+ new
@@ -2,11 +2,13 @@
def project_folders
@project_folders ||= []
end
- def autoload(project_folder=Loader::Helpers.pwd)
+ def autoload!(project_folder=Loader::Helpers.pwd)
project_folders.push(project_folder)
::Module.__send__(:prepend, Loader::AutoLoad::ModulePatch)
end
+
+ alias autoload autoload!
end
\ No newline at end of file