diff --git a/Library/Homebrew/cxxstdlib.rb b/Library/Homebrew/cxxstdlib.rb index 3326ebac07..7847552baa 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