From: Gaston Ramos Date: 2008-06-22T16:25:53+09:00 Subject: [ruby-core:17372] [PATCH] Add missing Proc#clone documentation --0F1p//8PRICkK4MW Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Guys, Attached is a patch for add the missing documentation on Proc#clone for Ruby 1.8 branch. Regards. -- "Programs must be written for people to read, and only incidentally for mac= hines to execute." (Abelson & Sussman, SICP, preface to the first edition) +-------------------------------------+ Gast=F3n Ramos http://gastonramos.wordpress.com/ GNU/Linux Counter user #450312 --0F1p//8PRICkK4MW Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="proc_clone_doc.patch" Index: eval.c =================================================================== --- eval.c (revision 17531) +++ eval.c (working copy) @@ -8485,7 +8485,12 @@ } /* - * MISSING: documentation + * Returns a copy of self. + * + * a = Proc.new { "hello" } + * b = a.clone + * a.equal? b #=> false + * a.call == b.call #=> true */ static VALUE --0F1p//8PRICkK4MW--