diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/tap.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/tap.rb b/Library/Homebrew/tap.rb index babebecc5..9134b7d8c 100644 --- a/Library/Homebrew/tap.rb +++ b/Library/Homebrew/tap.rb @@ -297,6 +297,11 @@ class Tap end end + def ==(other) + other = Tap.fetch(other) if other.is_a?(String) + self.class == other.class && self.name == other.name + end + def self.each return unless TAP_DIRECTORY.directory? |
