= private = protected
unlink()
Removes a file or directory, using File.unlink or Dir.unlink as necessary.
# File lib/pathname.rb, line 1065 def unlink() begin Dir.unlink @path rescue Errno::ENOTDIR File.unlink @path end end