Aha!  Thank you.  I now have a new page in the book to dog-ear!  I had checked the Ruby Library Reference (from p. 421 onwards) and couldn't find that info.  (I'm still working my way through the book.)

Thanks also for the interesting example comparing __FILE__ and $0.

Cheers.  Paul.


On 20/04/06, Cain, Mark <[EMAIL PROTECTED]> wrote:

This is right out of the pickaxe 2nd edition pages 336 - 337.

__FILE__          String               The name of the current source file. [r/o]

[snip]
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to