Module: Kernel

Defined in:
lib/sinatra/rabbit.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) require_relative(path)



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