Fix visibility modifiers
This commit is contained in:
parent
a69fc11459
commit
65a4d9f627
@ -16,6 +16,8 @@ module Utils
|
|||||||
unused_formulae - formulae_with_cask_dependents(casks)
|
unused_formulae - formulae_with_cask_dependents(casks)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
private
|
||||||
|
|
||||||
# An array of all installed {Formula} with {Cask} dependents.
|
# An array of all installed {Formula} with {Cask} dependents.
|
||||||
# @private
|
# @private
|
||||||
def formulae_with_cask_dependents(casks)
|
def formulae_with_cask_dependents(casks)
|
||||||
@ -24,7 +26,6 @@ module Utils
|
|||||||
.map { |f| Formula[f] }
|
.map { |f| Formula[f] }
|
||||||
.flat_map { |f| [f, *f.runtime_formula_dependencies].compact }
|
.flat_map { |f| [f, *f.runtime_formula_dependencies].compact }
|
||||||
end
|
end
|
||||||
private_class_method :formulae_with_cask_dependents
|
|
||||||
|
|
||||||
# An array of all installed {Formula} without runtime {Formula}
|
# An array of all installed {Formula} without runtime {Formula}
|
||||||
# dependents for bottles and without build {Formula} dependents
|
# dependents for bottles and without build {Formula} dependents
|
||||||
@ -46,7 +47,6 @@ module Utils
|
|||||||
end
|
end
|
||||||
formulae - dependents
|
formulae - dependents
|
||||||
end
|
end
|
||||||
private_class_method :formulae_with_no_formula_dependents
|
|
||||||
|
|
||||||
# Recursive function that returns an array of {Formula} without
|
# Recursive function that returns an array of {Formula} without
|
||||||
# {Formula} dependents that weren't installed on request.
|
# {Formula} dependents that weren't installed on request.
|
||||||
@ -62,7 +62,6 @@ module Utils
|
|||||||
|
|
||||||
unused_formulae
|
unused_formulae
|
||||||
end
|
end
|
||||||
private_class_method :unused_formulae_with_no_formula_dependents
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user