Module: Callsite::ModuleMethods

Defined in:
lib/callsite.rb

Instance Method Summary collapse

Instance Method Details

#autoload_relative(name, filename) ⇒ Object



84
85
86
# File 'lib/callsite.rb', line 84

def autoload_relative(name, filename)
  autoload name, File.join(Kernel.__DIR_REL__(caller.first), filename)
end