Sha256: 0f7bf628cf16e26cff6a29481e1e4a4a5266474306dd82aad45d45410ba80597

Contents?: true

Size: 357 Bytes

Versions: 3

Compression:

Stored size: 357 Bytes

Contents

#encoding: UTF-8
module Loader

  require 'loader/utils'
  require 'loader/fetcher'
  require 'loader/core_ext'

  extend self

  def project_root_folders
    @project_root_folders ||= []
  end

  def autoload!(project_root_folder=Loader::Utils.pwd)
    project_root_folders.push(File.expand_path(project_root_folder))
  end

  alias autoload autoload!

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
loader-3.1.0 lib/loader.rb
loader-3.0.1 lib/loader.rb
loader-3.0.0 lib/loader.rb