uses.rb: Pass a block to map instead of a Proc

Passing a `Proc` doesn't work in Ruby 1.8.6 which causes `brew uses` to fail on
Leopard.
This commit is contained in:
Charlie Sharpsteen 2011-11-28 23:29:29 -08:00
parent 093974f200
commit 9898956047

View File

@ -20,6 +20,6 @@ module Homebrew extend self
keg.directory? and not keg.subdirs.empty? keg.directory? and not keg.subdirs.empty?
end end
end end
puts_columns uses.map(&:to_s).sort puts_columns uses.map{|f| f.to_s}.sort
end end
end end