Refactor usage of NamedArgs in brew install.

This commit is contained in:
Markus Reiter 2020-09-28 02:17:31 +02:00
parent e40eece17b
commit 994e95e356

View File

@ -96,6 +96,7 @@ module Homebrew
load_formula_or_cask(name, only: only, method: method)
end.uniq.freeze
end
private :to_objects
def to_formulae_paths
to_paths(only: :formulae)