Use rack accessor instead of building pathname manually

This commit is contained in:
Jack Nagel 2014-06-19 13:27:19 -05:00
parent 10a1952d2c
commit 21ffc89a8e

View File

@ -3,7 +3,7 @@ module Homebrew
if ARGV.named.empty?
puts HOMEBREW_CELLAR
else
puts ARGV.formulae.map{ |f| HOMEBREW_CELLAR+f.name }
puts ARGV.formulae.map(&:rack)
end
end
end