Removes a file using File.unlink. This is incompatible with Pathname#unlink, which can also remove directories. Use #rmdir or #rm_r for directories.
File.unlink
99 100 101
# File 'lib/path/file.rb', line 99 def unlink File.unlink @path end