James Gray
1/16/2007 6:01:00 PM
On Jan 16, 2007, at 11:39 AM, Peter Bailey wrote:
> James Gray wrote:
>> On Jan 16, 2007, at 11:24 AM, Peter Bailey wrote:
>>
>>> contents = File.read{"test1.txt"}
>>
>> That's a typo. You want (...) instead of {...}.
>>
>> James Edward Gray II
>
> Duh, sorry James, but, I don't see what you mean. I don't have any
> (...)
> data in there. The test file I made is named "test1.txt.")
The correct line of code is:
contents = File.read("test1.txt")
James Edward Gray II