Thanks for the reply Ray
I purposefully did not create the file to see what error will
be raised. I am sorry I failed to mention that. I am trying to ensure
that this error will not be thrown to the user when a file is not found.
Hence I want to handle it with rescue. How can I achieve this.
Thanks
Venkat
--
Posted via http://www.ruby-forum.com/.