aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/build_options.rb
diff options
context:
space:
mode:
authorMike McQuaid2014-08-13 08:45:08 +0100
committerMike McQuaid2014-08-13 08:45:08 +0100
commitf53f33e6805c3168c5397fbb2448937ce288e04c (patch)
tree4e1899c0a6fedfd82e04837ec922c51aeea45687 /Library/Homebrew/build_options.rb
parent7f51828e5ffdc4a184ad66bb46528222b86dd1e2 (diff)
downloadhomebrew-f53f33e6805c3168c5397fbb2448937ce288e04c.tar.bz2
Revert "Set methods on Options already return Options instances"
This reverts commit 4d1464c246861f7aedc355cb5f6360370d05114e.
Diffstat (limited to 'Library/Homebrew/build_options.rb')
-rw-r--r--Library/Homebrew/build_options.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/build_options.rb b/Library/Homebrew/build_options.rb
index 319228b32..19169af3d 100644
--- a/Library/Homebrew/build_options.rb
+++ b/Library/Homebrew/build_options.rb
@@ -66,11 +66,11 @@ class BuildOptions
end
def used_options
- @options & @args
+ Options.new(@options & @args)
end
def unused_options
- @options - @args
+ Options.new(@options - @args)
end
private