aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/cxxstdlib.rb4
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