= private = protected
rename(to)
See File.rename. Rename the file.
# File lib/pathname.rb, line 826 def rename(to) File.rename(@path, to) end