diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-25 02:56:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-25 02:56:52 +0000 |
commit | 2c549ad5d348980b97e80e82492511262a9c6308 (patch) | |
tree | 67ec49032ecfe0c458bc0200f80abc7ecf66f337 /vm_method.c | |
parent | bc7123e4346c373dcf428fa67caef4dc07a199c9 (diff) | |
download | ruby-2c549ad5d348980b97e80e82492511262a9c6308.tar.gz |
* vm_method.c (rb_mod_method_defined): should return true or false.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_method.c')
-rw-r--r-- | vm_method.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_method.c b/vm_method.c index f2d2cd3c75..014840d7d6 100644 --- a/vm_method.c +++ b/vm_method.c @@ -672,9 +672,9 @@ static VALUE rb_mod_method_defined(VALUE mod, VALUE mid) { if (!rb_method_boundp(mod, rb_to_id(mid), 1)) { - return FALSE; + return Qfalse; } - return TRUE; + return Qtrue; } |