aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/build_options.rb
diff options
context:
space:
mode:
authorJack Nagel2014-08-13 11:09:57 -0500
committerJack Nagel2014-08-13 11:09:57 -0500
commit886c20ddba08d4d9b1e4fc080dfd8ee3d4b95dd5 (patch)
treec00694af6bdbcaf8d1a67efe25400b747ca2813a /Library/Homebrew/build_options.rb
parentc5a888fb3ac504bb08848b260d7ebc534e903c49 (diff)
downloadbrew-886c20ddba08d4d9b1e4fc080dfd8ee3d4b95dd5.tar.bz2
Set methods on Options already return Options instances
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 19169af3d..319228b32 100644
--- a/Library/Homebrew/build_options.rb
+++ b/Library/Homebrew/build_options.rb
@@ -66,11 +66,11 @@ class BuildOptions
end
def used_options
- Options.new(@options & @args)
+ @options & @args
end
def unused_options
- Options.new(@options - @args)
+ @options - @args
end
private