diff options
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 4 |
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>. */ |