aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/--prefix.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/--prefix.rb')
-rw-r--r--Library/Homebrew/cmd/--prefix.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/--prefix.rb b/Library/Homebrew/cmd/--prefix.rb
index 07b43693c..c59830833 100644
--- a/Library/Homebrew/cmd/--prefix.rb
+++ b/Library/Homebrew/cmd/--prefix.rb
@@ -5,6 +5,8 @@
#: Display the location in the cellar where <formula> is or would be installed.
module Homebrew
+ module_function
+
def __prefix
if ARGV.named.empty?
puts HOMEBREW_PREFIX