Flowdock
rename(p1, p2) public

Renames the given file to the new name. Raises a SystemCallError if the file cannot be renamed.

   File.rename("afile", "afile.bak")   #=> 0
Show source
Register or log in to add new notes.