Robert Dober
7/2/2007 6:17:00 AM
On 7/2/07, Vasco Andrade e Silva <vascoas@gmail.com> wrote:
>
> f = File.open("/Users/john/Desktop/text.txt")
>
> f_lines = f.read.split("\n")
There is a convenient shortcut
File.readlines("/User/....")
>
HTH
Robert
--
I always knew that one day Smalltalk would replace Java.
I just didn't know it would be called Ruby
-- Kent Beck