summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-26 09:13:54 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-26 09:13:54 +0000
commitc4247b5216de2650ed2af7dd853f2a76ff86d571 (patch)
treec8c107aa1df29dd1b6238aeff6e66b10ab1ad481 /variable.c
parent7e6dd6142e30e09976307e2626fd1ae9a36ab83e (diff)
* variable.c (rb_mod_constants): rdoc updated. a patch from
Florian Gilcher <flo AT andersground.net> in [ruby-core:16009]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c4
1 files changed, 2 insertions, 2 deletions
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>.
*/