mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-01 17:39:54 +08:00
10 lines
198 B
Ruby
10 lines
198 B
Ruby
module Kernel
|
|
unless(defined? require_relative)
|
|
def require_relative(path)
|
|
require File.join(File.dirname(caller(0)[1]), path.to_str)
|
|
end
|
|
end
|
|
end
|
|
|
|
Exception.log_exceptions = false
|