aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/options.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/options.rb')
-rw-r--r--Library/Homebrew/options.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/options.rb b/Library/Homebrew/options.rb
index 337281546..c3b15b06e 100644
--- a/Library/Homebrew/options.rb
+++ b/Library/Homebrew/options.rb
@@ -83,6 +83,10 @@ class Options
Options.new(@options & o)
end
+ def |(o)
+ Options.new(@options | o)
+ end
+
def *(arg)
@options.to_a * arg
end