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++')
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user