diff options
| author | Tim D. Smith | 2015-03-11 20:23:22 -0700 |
|---|---|---|
| committer | Tim D. Smith | 2015-03-11 21:08:54 -0700 |
| commit | 4057a68e6e074d9e3e42a7e94f89723804f9f998 (patch) | |
| tree | ddb4508a61f07866d535040ce561965b3b8f2dee /Library | |
| parent | b136a0acdfd5d0ac59c2b50e7fb7df08203f5814 (diff) | |
| download | brew-4057a68e6e074d9e3e42a7e94f89723804f9f998.tar.bz2 | |
add bottle? method to Tab
Closes Homebrew/homebrew#37621.
Diffstat (limited to 'Library')
| -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 84960e7ea..dcd8c2762 100644 --- a/Library/Homebrew/tab.rb +++ b/Library/Homebrew/tab.rb @@ -155,6 +155,10 @@ class Tab < OpenStruct built_as_bottle && !poured_from_bottle end + def bottle? + built_as_bottle + end + def to_json attributes = { "used_options" => used_options.as_flags, |
