aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2014-08-14 00:03:34 -0500
committerJack Nagel2014-08-14 00:03:34 -0500
commit90a19a24542c27a1a3b11c77d009bd86b6896065 (patch)
treebe3592a0d1ae8ff4ba3468fabc196955f975559f /Library/Homebrew
parent1d12a2eba672c14675f54de61a31ddbcc6d87cbd (diff)
downloadhomebrew-90a19a24542c27a1a3b11c77d009bd86b6896065.tar.bz2
Use the Enumerable implementation of include?
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/dependencies.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/dependencies.rb b/Library/Homebrew/dependencies.rb
index 96a4106b5..db28c7af3 100644
--- a/Library/Homebrew/dependencies.rb
+++ b/Library/Homebrew/dependencies.rb
@@ -10,7 +10,7 @@ class Dependencies
end
def <<(o)
- @deps << o unless @deps.include? o
+ @deps << o unless include?(o)
self
end