Sha256: 2053273b1ca8815c9946b9cd06a3d0db5651bdf18e6a3f7ce817c71d36215771

Contents?: true

Size: 289 Bytes

Versions: 1

Compression:

Stored size: 289 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

  alias autoload autoload!

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
loader-2.2.3 lib/loader/autoload/loader_patch.rb