From c36d6ee352a87b846cc7ffc1b3b272fa3b2b709e 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: http://svn.ruby-lang.org/repos/ruby/trunk@15842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ variable.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8eeeace69..4d3f5a421 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Mar 26 18:11:26 2008 Yukihiro Matsumoto + + * variable.c (rb_mod_constants): rdoc updated. a patch from + Florian Gilcher in [ruby-core:16009]. + Wed Mar 26 00:55:28 2008 Yusuke Endoh * test/ruby/test_rand.rb: add tests to achieve over 95% test coverage diff --git a/variable.c b/variable.c index be9dc4768..8f745e5a3 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