aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-08-12 20:19:56 -0500
committerJack Nagel2014-08-12 20:19:56 -0500
commit4d1464c246861f7aedc355cb5f6360370d05114e (patch)
tree800665b4644c2e5f9dde1aa69778047937a1f26f
parente143bcef259ca76b2124e6e73bd9bdf872418723 (diff)
downloadhomebrew-4d1464c246861f7aedc355cb5f6360370d05114e.tar.bz2
Set methods on Options already return Options instances
-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