From 72838c28bd2690693f0e326eee595d54aba6459c Mon Sep 17 00:00:00 2001 From: marcandre Date: Tue, 13 Oct 2009 23:12:59 +0000 Subject: [PATCH] * object.c (rb_mod_const_defined): rdoc fix git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- object.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/object.c b/object.c index 5d94a6f40f..6dcd94740d 100644 --- a/object.c +++ b/object.c @@ -1711,9 +1711,9 @@ rb_mod_const_defined(int argc, VALUE *argv, VALUE mod) * end * end * k = Klass.new - * k.methods[0..9] #=> ["kMethod", "freeze", "nil?", "is_a?", - * # "class", "instance_variable_set", - * # "methods", "extend", "__send__", "instance_eval"] + * k.methods[0..9] #=> [:kMethod, :freeze, :nil?, :is_a?, + * # :class, :instance_variable_set, + * # :methods, :extend, :__send__, :instance_eval] * k.methods.length #=> 42 */