1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* load.c (rb_f_require_relative): don't omit return type.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-12-25 03:48:57 +00:00
parent d0830a222c
commit 1aff775d39
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Sat Dec 25 12:48:50 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* load.c (rb_f_require_relative): don't omit return type.
Sat Dec 25 11:06:00 2010 Eric Hodel <drbrain@segment7.net>
* load.c (rb_f_require_relative): Add documentation.

2
load.c
View file

@ -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);