From c4247b5216de2650ed2af7dd853f2a76ff86d571 Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 26 Mar 2008 09:13:54 +0000 Subject: * variable.c (rb_mod_constants): rdoc updated. a patch from Florian Gilcher in [ruby-core:16009]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- variable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'variable.c') diff --git a/variable.c b/variable.c index be9dc47687..8f745e5a35 100644 --- a/variable.c +++ b/variable.c @@ -1582,8 +1582,8 @@ rb_const_list(void *data) * modules (example at start of section), unless the all * parameter is set to false. * - * IO.constants.include?("SYNC") => true - * IO.constants(false).include?("SYNC") => false + * IO.constants.include?(:SYNC) => true + * IO.constants(false).include?(:SYNC) => false * * Also see Module::const_defined?. */ -- cgit v1.2.3