diff --git a/Library/Homebrew/cask/cmd/--cache.rb b/Library/Homebrew/cask/cmd/--cache.rb index f54c1484fc..7aa96ec33f 100644 --- a/Library/Homebrew/cask/cmd/--cache.rb +++ b/Library/Homebrew/cask/cmd/--cache.rb @@ -16,7 +16,7 @@ module Cask def run casks.each do |cask| - puts cached_location(cask) + puts self.class.cached_location(cask) end end