aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2010-08-07 22:15:29 -0700
committerAdam Vandenberg2010-08-07 22:15:29 -0700
commit9313c3ce0dd35752b3018b12a071c8ed2f9da7d1 (patch)
treeca6a5801cea546a3a568330cc411bffef61c4e0f /Library
parente208ac6ba11bca83fc0fb04099d943fdfd1aaa73 (diff)
downloadhomebrew-9313c3ce0dd35752b3018b12a071c8ed2f9da7d1.tar.bz2
Resolve aliases in 'brew edit'.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/ARGV.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/Library/Homebrew/extend/ARGV.rb b/Library/Homebrew/extend/ARGV.rb
index d39df7d7f..61268fda3 100644
--- a/Library/Homebrew/extend/ARGV.rb
+++ b/Library/Homebrew/extend/ARGV.rb
@@ -102,12 +102,6 @@ module HomebrewArgvExtension
EOS
end
- private
-
- def downcased_unique_named
- @downcased_unique_named ||= named.map(&:downcase).uniq
- end
-
def resolve_alias name
aka = HOMEBREW_REPOSITORY+"Library/Aliases/#{name}"
if aka.file?
@@ -116,4 +110,10 @@ module HomebrewArgvExtension
name
end
end
+
+ private
+
+ def downcased_unique_named
+ @downcased_unique_named ||= named.map(&:downcase).uniq
+ end
end