Flowdock
method

require_relative

Importance_0
require_relative(p1) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
VALUE
rb_f_require_relative(VALUE obj, VALUE fname)
{
    VALUE rb_current_realfilepath(void);
    VALUE base = rb_current_realfilepath();
    if (NIL_P(base)) {
        rb_raise(rb_eLoadError, "cannot infer basepath");
    }
    base = rb_file_dirname(base);
    return rb_require_safe(rb_file_absolute_path(fname, base), rb_safe_level());
}
Register or log in to add new notes.