diff --git a/ChangeLog b/ChangeLog index 8eeeace69a..4d3f5a421b 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 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?. */