From 4d0e6ca17e0093636ccf255bfc241bd14b799e1c Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 3 Aug 2014 15:28:26 -0500 Subject: Add inspect to CxxStdlib --- Library/Homebrew/cxxstdlib.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Library') 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 -- cgit v1.2.3