diff --git a/ChangeLog b/ChangeLog index 3f2f1a0e09..d19dd60be5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sat Dec 25 12:48:50 2010 Nobuyoshi Nakada + + * load.c (rb_f_require_relative): don't omit return type. + Sat Dec 25 11:06:00 2010 Eric Hodel * load.c (rb_f_require_relative): Add documentation. diff --git a/load.c b/load.c index 2628b31c12..dee450906d 100644 --- a/load.c +++ b/load.c @@ -461,7 +461,7 @@ rb_f_require(VALUE obj, VALUE fname) * file's path. If the file's path cannot be determined a LoadError is raised. * If a file is loaded +true+ is returned and false otherwise. */ - +VALUE rb_f_require_relative(VALUE obj, VALUE fname) { VALUE rb_current_realfilepath(void);