Add inspect to CxxStdlib
This commit is contained in:
parent
9aac71045c
commit
cf3c12dd5b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user