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 */