Add inspect to CxxStdlib

This commit is contained in:
Jack Nagel 2014-08-03 15:28:26 -05:00
parent 9aac71045c
commit cf3c12dd5b

View File

@ -51,6 +51,10 @@ class CxxStdlib
type.to_s.gsub(/cxx$/, 'c++') type.to_s.gsub(/cxx$/, 'c++')
end end
def inspect
"#<#{self.class.name}: #{compiler} #{type}>"
end
class AppleStdlib < CxxStdlib class AppleStdlib < CxxStdlib
def apple_compiler? def apple_compiler?
true true