#: * `--prefix`: #: Display Homebrew's install path. *Default:* `/usr/local` #: #: * `--prefix` : #: Display the location in the cellar where is or would be installed. module Homebrew module_function def __prefix if ARGV.named.empty? puts HOMEBREW_PREFIX else puts ARGV.resolved_formulae.map(&:installed_prefix) end end end