aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBrent Fitzgerald2010-08-08 05:00:47 -0700
committerAdam Vandenberg2010-08-08 18:26:13 -0700
commitd85ff377f37898369237eb9c40b265e0ce8dd22b (patch)
tree1ca654e65900daadffc236980b3f8a5927cd8202 /Library
parent91b7000159af1f0df686891616ab175722b71f4d (diff)
downloadbrew-d85ff377f37898369237eb9c40b265e0ce8dd22b.tar.bz2
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.)
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/ARGV.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/ARGV.rb b/Library/Homebrew/extend/ARGV.rb
index 61268fda3..228c3c033 100644
--- a/Library/Homebrew/extend/ARGV.rb
+++ b/Library/Homebrew/extend/ARGV.rb
@@ -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