On Mon, Sep 3, 2012 at 7:57 PM, Dave Castellano <[email protected]> wrote:
> I am placing an undefined method after file.write("Hello"). Crashes the
> program and leaves the file so I can open it - its empty...
Interesting programming style :-)
Personally, I'd close the file so it gets written to disk, and then look
at it. FWIW.
--
Hassan Schroeder ------------------------ [email protected]
http://about.me/hassanschroeder
twitter: @hassan
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.