Module: Kernel

Defined in:
lib/sinatra/rabbit.rb

Instance Method Summary collapse

Instance Method Details

#require_relative(path) ⇒ Object


27
28
29
# File 'lib/sinatra/rabbit.rb', line 27

def require_relative(path)
  require File.join(File.dirname(caller[0]), path.to_str)
end