Switch from module_function to eigenclass

This commit is contained in:
Douglas Eichelberger 2023-04-26 09:10:30 -07:00
parent 8f97dea167
commit 7229d03133

View File

@ -6,8 +6,7 @@ module Utils
#
# @private
module Autoremove
module_function
class << self
# An array of all installed {Formula} with {Cask} dependents.
# @private
def formulae_with_cask_dependents(casks)
@ -65,4 +64,5 @@ module Utils
unused_formulae - formulae_with_cask_dependents(casks)
end
end
end
end