--/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable El lun, 02 de jun de 2008, a las 09:23:25 +0900, Yukihiro Matsumoto dijo: > > The patch is too huge for space modification. It seems actual change > is rather small for the size of the patch. Could you resubmit the > patch from "diff -wu"? > > matz. sorry, I attached the new short patch. > -- "Premature optimization is the root of all evil (or at least most of it) in programming." (Donald Knuth) +-------------------------------------+ Gastóî Ramos http://gastonramos.wordpress.com/ GNU/Linux Counter user #450312 --/9DWx/yDrRhgMJTb Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="improve_class_allocate_doc.patch" Index: object.c --- object.c (revision 16741) +++ object.c (working copy) @@ -1573,8 +1573,21 @@ * call-seq: * class.allocate() obj * - * Allocates space for a new object of <i>class</i>'s class. The - * returned object must be an instance of <i>class</i>. + * Allocates space for a new object of <i>class</i>'s class and does not + * call initialize on the new instance. The returned object must be an + * instance of <i>class</i>. + * + * klass lass.new do + * def initialize(*args) + * @initialized rue + * end + * + * def initialized? + * @initialized || false + * end + * end + * + * klass.allocate.initialized? # false * */ --/9DWx/yDrRhgMJTb--