diff options
| author | Jack Nagel | 2014-11-20 22:29:23 -0600 |
|---|---|---|
| committer | Jack Nagel | 2014-11-20 22:37:47 -0600 |
| commit | 2b09f6636251d100985ee286971848540fed67f9 (patch) | |
| tree | 9fbd05bdbadb24010ae69aa2a4e29807365fbd0f /Library | |
| parent | c114c22d213c275f7d091fbce84a8d53e01c72af (diff) | |
| download | homebrew-2b09f6636251d100985ee286971848540fed67f9.tar.bz2 | |
Improve inspect output for dependency collections
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/dependencies.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/dependencies.rb b/Library/Homebrew/dependencies.rb index db28c7af3..bcfba0478 100644 --- a/Library/Homebrew/dependencies.rb +++ b/Library/Homebrew/dependencies.rb @@ -51,6 +51,10 @@ class Dependencies deps == other.deps end alias_method :eql?, :== + + def inspect + "#<#{self.class.name}: #{to_a.inspect}>" + end end class Requirements |
