diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-01 23:23:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-01 23:23:23 +0000 |
commit | 603fcafdc33ea5aed55240020e7287597b6b2e01 (patch) | |
tree | c6131d51873959f47a30f70520135244b5b6a72c /eval.c | |
parent | 71dcc25fb768b0ff8fe49d0d8186d001b98ae469 (diff) | |
download | ruby-603fcafdc33ea5aed55240020e7287597b6b2e01.tar.gz |
eval.c: fix message
* eval.c (top_include): fix a warning message, main is not a class or
module.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1385,8 +1385,7 @@ top_include(int argc, VALUE *argv, VALUE self) rb_secure(4); if (th->top_wrapper) { - rb_warning - ("main#include in the wrapped load is effective only in wrapper module"); + rb_warning("main.include in the wrapped load is effective only in wrapper module"); return rb_mod_include(argc, argv, th->top_wrapper); } return rb_mod_include(argc, argv, rb_cObject); |