diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb index 90bf5b7b86..efc7466287 100644 --- a/Library/Homebrew/tab.rb +++ b/Library/Homebrew/tab.rb @@ -170,6 +170,10 @@ class Tab < OpenStruct source["tap"] end + def tap=(tap) + source["tap"] = tap + end + def to_json attributes = { "used_options" => used_options.as_flags,