diff options
| author | Jack Nagel | 2014-08-03 15:28:26 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-03 15:28:51 -0500 |
| commit | 4d0e6ca17e0093636ccf255bfc241bd14b799e1c (patch) | |
| tree | f2cc4f304a35843a62348c9026933691d4874dea | |
| parent | 31bcf1690215ec0a8786a7460781d43e748feb80 (diff) | |
| download | homebrew-4d0e6ca17e0093636ccf255bfc241bd14b799e1c.tar.bz2 | |
Add inspect to CxxStdlib
| -rw-r--r-- | Library/Homebrew/cxxstdlib.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/cxxstdlib.rb b/Library/Homebrew/cxxstdlib.rb index 3326ebac0..7847552ba 100644 --- a/Library/Homebrew/cxxstdlib.rb +++ b/Library/Homebrew/cxxstdlib.rb @@ -51,6 +51,10 @@ class CxxStdlib type.to_s.gsub(/cxx$/, 'c++') end + def inspect + "#<#{self.class.name}: #{compiler} #{type}>" + end + class AppleStdlib < CxxStdlib def apple_compiler? true |
