Module: Cask::Utils::Trash Private

Extended by:
SystemCommand::Mixin
Defined in:
cask/utils/trash.rb

This module is part of a private API. This module may only be used in the Homebrew/brew repository. Third parties should avoid using this module if possible, as it may be removed or changed without warning.

Class Method Summary collapse

Methods included from SystemCommand::Mixin

system_command, system_command!

Class Method Details

.trash(*paths, command: nil) ⇒ Array<(Array<String>, Array<String>)>

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Parameters:

Returns:



18
19
20
# File 'cask/utils/trash.rb', line 18

def self.trash(*paths, command: nil)
  swift_trash(*paths, command:)
end