Hi,
I want to read a file, and write to another file by randomize the lines.
I saw the method File.lineno= but it doesn’t seem to work. I just get
the same file written as the original, without the lines having been
randomized.
I suppose it should be simple, but am new to Ruby. Any help would be
great.
Thanks,
Asitya