summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--variable.c4
2 files changed, 7 insertions, 2 deletions
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 <matz@ruby-lang.org>
+
+ * variable.c (rb_mod_constants): rdoc updated. a patch from
+ Florian Gilcher <flo AT andersground.net> in [ruby-core:16009].
+
Wed Mar 26 00:55:28 2008 Yusuke Endoh <mame@tsg.ne.jp>
* 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 <i>all</i>
* parameter is set to <code>false</code>.
*
- * IO.constants.include?("SYNC") => true
- * IO.constants(false).include?("SYNC") => false
+ * IO.constants.include?(:SYNC) => true
+ * IO.constants(false).include?(:SYNC) => false
*
* Also see <code>Module::const_defined?</code>.
*/