diff options
| author | Jack Nagel | 2014-07-30 21:04:17 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-07-30 21:04:17 -0500 |
| commit | 9426831de9d79bb56f21309a333e99df3cacbaf6 (patch) | |
| tree | 2410e6047b3732031f312cf9fa7cb2fdb38ad80f | |
| parent | 9e3be69de08a9c4456ad47e2ad8c193424e47daa (diff) | |
| download | homebrew-9426831de9d79bb56f21309a333e99df3cacbaf6.tar.bz2 | |
Add without? to Tab
| -rw-r--r-- | Library/Homebrew/tab.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb index 73895bb04..0b1605ab1 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 |
