Module: Kernel

Defined in:
lib/awsbase/require_relative.rb

Instance Method Summary collapse

Instance Method Details

#require_relative(path) ⇒ Object



6
7
8
9
# File 'lib/awsbase/require_relative.rb', line 6

def require_relative(path)
#      puts 'IN NEW REQUIRE_RELATIVE ' + path.to_s
  require File.join(File.dirname(caller[0]), path.to_str)
end