From 9aac71045c3f138a50d1dd042bb6bd7696f65ba6 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 3 Aug 2014 15:28:26 -0500 Subject: [PATCH] Add inspect to CompilerFailure --- Library/Homebrew/compilers.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Library/Homebrew/compilers.rb b/Library/Homebrew/compilers.rb index 93c52c3436..55f8c3fe0d 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" }