On Apr 19, 2011, at 1:04 AM, Jim S. wrote:

> Was the 'text' variable placed there in case there was more code to
> follow that might use that file? Removing that 'text' variable, I opened
> the file text.txt to see if the code somehow changed the file content.
> It didn't.


Yep - that was there in case you wanted to use the actual text of the
file in some way, such as searching it for a word, counting characters, etc.

I hope you enjoy Ruby!

Michael Edgar
adgar / carboni.ca
http://carboni.ca/