Results 1 to 4 of 4
Apr 9, 2009, 09:16 #1
- Join Date
- Dec 2004
- 0 Post(s)
- 0 Thread(s)
move and rename file in one function/line, possible?
so i've been scanning through the ruby docs and i've found
is there any way to that i haven't found to do a move and rename at once? Something like
current_path = blah new_path = newBlah File.move(path_to_file+filename, new_path+new_filename)
thanks for any help/insight.your brain reacts in the same way whether you are
looking at something or thinking about it...