Topic: File.new issues
I am trying to save a file to my file system, and I am trying to use something very simple just to test it out:
string = 'My String'
file = File.new('test.txt')
only it doesn't work. Instead, I am told that no such file or directory exists, which of course, I knew that already. That's why I made the call to File.new. Any suggestions?
Last edited by dsullivan (2011-02-11 15:35:32)