Closed ksss closed 8 years ago
In CRuby, Kernel#require complement the extname (like .rb, .so) when absolute path.(Kernel#load don't)
Kernel#require
.rb
.so
Kernel#load
I think mruby-require will be better if support this behavior.
Use case:
require File.expand_path("../helper", __FILE__)
In CRuby,
Kernel#require
complement the extname (like.rb
,.so
) when absolute path.(Kernel#load
don't)I think mruby-require will be better if support this behavior.
Use case: