= private = protected
unlink(path)
See IO.unlink when path is a file.
See Dir.unlink when path is a directory.
# File lib/shell/command-processor.rb, line 136 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