aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/options.rb
diff options
context:
space:
mode:
authorJack Nagel2014-07-07 09:15:56 -0500
committerJack Nagel2014-07-07 09:15:56 -0500
commitc4a60ee12885f28441c5a50883a813f3acd6db11 (patch)
tree100be2ed786ec647bbe68919be1998205c4ae722 /Library/Homebrew/options.rb
parentd0a3b5e72c9eb14a4715f42f0c4d11637e99d362 (diff)
downloadhomebrew-c4a60ee12885f28441c5a50883a813f3acd6db11.tar.bz2
Merge instead of calling << in a loop
Diffstat (limited to 'Library/Homebrew/options.rb')
-rw-r--r--Library/Homebrew/options.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/options.rb b/Library/Homebrew/options.rb
index d273239bb..3988085ce 100644
--- a/Library/Homebrew/options.rb
+++ b/Library/Homebrew/options.rb
@@ -104,7 +104,7 @@ class Options
end
def concat(o)
- o.each { |opt| @options << opt }
+ @options.merge(o)
self
end