Changing the magic &:downcase back to regular block.

Fixes Homebrew/homebrew#2089

Signed-off-by: Adam Vandenberg <flangy@gmail.com>

(This is needed for 10.5 support.)
This commit is contained in:
Brent Fitzgerald 2010-08-08 05:00:47 -07:00 committed by Adam Vandenberg
parent 91b7000159
commit d85ff377f3

View File

@ -114,6 +114,6 @@ module HomebrewArgvExtension
private
def downcased_unique_named
@downcased_unique_named ||= named.map(&:downcase).uniq
@downcased_unique_named ||= named.map{|arg| arg.downcase}.uniq
end
end