aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compilers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/compilers.rb')
-rw-r--r--Library/Homebrew/compilers.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/compilers.rb b/Library/Homebrew/compilers.rb
index 93c52c343..55f8c3fe0 100644
--- a/Library/Homebrew/compilers.rb
+++ b/Library/Homebrew/compilers.rb
@@ -52,6 +52,10 @@ class CompilerFailure
name == compiler.name && version >= compiler.version
end
+ def inspect
+ "#<#{self.class.name}: #{name} #{version}>"
+ end
+
MESSAGES = {
:cxx11 => "This compiler does not support C++11"
}