Z
Zhao Yi
I use this code to write to a file: File.new(@FILE_NAME,"w"). If the
file name doesn't exist, I will get "No such file" error. How can I
create the file if it doesn't exist?
thanks.
file name doesn't exist, I will get "No such file" error. How can I
create the file if it doesn't exist?
thanks.