Class: Module

Inherits:
Object
  • Object
show all
Defined in:
lib/bootscale/core_ext.rb

Instance Method Summary collapse

Instance Method Details

#autoload(const, path) ⇒ Object



17
18
19
# File 'lib/bootscale/core_ext.rb', line 17

def autoload(const, path)
  autoload_without_cache(const, Bootscale[path] || path)
end

#autoload_without_cacheObject



16
# File 'lib/bootscale/core_ext.rb', line 16

alias_method :autoload_without_cache, :autoload