--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 machines
to execute."
(Abelson & Sussman, SICP, preface to the first edition)
+-------------------------------------+
Gastóî 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 roc.new { "hello" }
+ * b .clone
+ * a.equal? b # false
+ * a.call b.call # true
*/
static VALUE
--0F1p//8PRICkK4MW--