diff options
| author | Mike McQuaid | 2015-05-27 09:57:41 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-05-27 10:21:45 +0100 |
| commit | f55257306e609859cba568528abea45d78f1844c (patch) | |
| tree | b64f8657067822c1735d269f5ad640c1b7d46ed0 | |
| parent | ef08db539b2685fd99367a997d47381d39339df8 (diff) | |
| download | brew-f55257306e609859cba568528abea45d78f1844c.tar.bz2 | |
tab: add method to set tap.
| -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 90bf5b7b8..efc746628 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, |
