[Nitro] Concerns over Og mandating the form of initialize

George Moschovitis george.moschovitis at gmail.com
Thu Apr 14 03:19:53 EDT 2005


> > og_read restores f.create_data so it is NOT nil.
> Yes, currently, because og_read calls new.  But using allocate in place
> of new will bypass the initialization of @tstamp

no, no...

after klass.allocate, og_read is called. og_read SETS the timestamp
to the correct value! I have tested this. It works correctly.

-g.


-- 
http://nitro.rubyforge.org
http://www.joy.gr




More information about the Nitro-general mailing list