aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/ARGV.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/extend/ARGV.rb b/Library/Homebrew/extend/ARGV.rb
index 0825b13a7..8cc2ccbc0 100644
--- a/Library/Homebrew/extend/ARGV.rb
+++ b/Library/Homebrew/extend/ARGV.rb
@@ -133,9 +133,8 @@ module HomebrewArgvExtension
end
end
- # self documenting perhaps?
def include?(arg)
- @n=index arg
+ !(@n = index(arg)).nil?
end
def next