Sha256: fd9c5c48e00e682e662c756310901c220f31ec014add6a2ae5ac76b852ca71c6

Contents?: true

Size: 260 Bytes

Versions: 2

Compression:

Stored size: 260 Bytes

Contents

module Loader::AutoLoad::LoaderPatch

  def project_folders
    @project_folders ||= []
  end

  def autoload(project_folder=Loader::Helpers.pwd)
    project_folders.push(project_folder)
    ::Module.__send__(:prepend, Loader::AutoLoad::ModulePatch)
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
loader-2.2.2 lib/loader/autoload/loader_patch.rb
loader-2.2.1 lib/loader/autoload/loader_patch.rb