Document Utils
.
This commit is contained in:
parent
b92f3a2e93
commit
d9c1f6cf2d
@ -8,6 +8,9 @@ require "stringio"
|
|||||||
BUG_REPORTS_URL = "https://github.com/Homebrew/homebrew-cask#reporting-bugs"
|
BUG_REPORTS_URL = "https://github.com/Homebrew/homebrew-cask#reporting-bugs"
|
||||||
|
|
||||||
module Cask
|
module Cask
|
||||||
|
# Helper functions for various cask operations.
|
||||||
|
#
|
||||||
|
# @api private
|
||||||
module Utils
|
module Utils
|
||||||
def self.gain_permissions_remove(path, command: SystemCommand)
|
def self.gain_permissions_remove(path, command: SystemCommand)
|
||||||
if path.respond_to?(:rmtree) && path.exist?
|
if path.respond_to?(:rmtree) && path.exist?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user