Hello everybody,

I would like to load the exact content of a file in a buffer (with the
same carriage return). To do so, I had trying this:

file = File.open('/home/my_file')

To verify if that work normally, I had try to add this for display the
content of my_file:

puts file

But my_file was not been printed, and I got: #<File:0x28d70>


If you know a way to do so, please help me :)
Thanks.

Zang'
-- 
Posted via http://www.ruby-forum.com/.