Skip to content
Snippets Groups Projects
Commit 4057a68e authored by Tim D. Smith's avatar Tim D. Smith
Browse files

add bottle? method to Tab

Closes Homebrew/homebrew#37621.
parent b136a0ac
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment