From 331737ab25714ab6a31ae42a8377dca564033056 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 30 Jul 2014 21:04:17 -0500 Subject: [PATCH] Add without? to Tab --- Library/Homebrew/tab.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb index 73895bb048..0b1605ab14 100644 --- a/Library/Homebrew/tab.rb +++ b/Library/Homebrew/tab.rb @@ -91,6 +91,10 @@ class Tab < OpenStruct end end + def without? name + not with? name + end + def include? opt used_options.include? opt end