sameas:Dir#unlink (when path is directory)File#unlink (when path is file)
# File lib/shell/command-processor.rb, line 143
def unlink(path)
@shell.check_point
path = expand_path(path)
if File.directory?(path)
Dir.unlink(path)
else
IO.unlink(path)
end
Void.new(@shell)
end