% svn diff
Index: class.c
===================================================================
--- class.c    (revision 35022)
+++ class.c    (working copy)
@@ -991,11 +991,11 @@

  /*
   *  call-seq:
- *     obj.methods    -> array
+ *     obj.methods(all=true)   -> array
   *
- *  Returns a list of the names of public and protected methods of
- * <i>obj</i>. This will include all the methods accessible in
- * <i>obj</i>'s ancestors.
+ *  Returns the list of public and protected methods of <i>obj</i>. If
+ *  the <i>all</i> parameter is set to <code>false</code>, only those 
methods
+ *  in the receiver will be listed.
   *
   *     class Klass
   *       def klass_method()
@@ -1003,7 +1003,7 @@
   *     end
   *     k = Klass.new
   *     k.methods[0..9]    #=> [:klass_method, :nil?, :===,
- *                        #    :==~, :!, :eql?
+ *                        #    :=~, :!~, :eql?
   *                        #    :hash, :<=>, :class, :singleton_class]
   *     k.methods.length   #=> 57
   */