Re: effect of variable
- From: Michael Edgar <adgar@xxxxxxxxxx>
- Date: Tue, 19 Apr 2011 00:10:23 -0500
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@xxxxxxxxxx
http://carboni.ca/
.
- References:
- effect of variable
- From: Jim S.
- effect of variable
- Prev by Date: Re: effect of variable
- Next by Date: Re: 4 RoR Developers Needed + FREE Bacon!
- Previous by thread: Re: effect of variable
- Next by thread: Re: effect of variable
- Index(es):
Relevant Pages
|