diff options
| author | Jack Nagel | 2014-08-03 15:28:26 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-03 15:28:51 -0500 |
| commit | 31bcf1690215ec0a8786a7460781d43e748feb80 (patch) | |
| tree | ec25edb307327d4472cfa6ac0b1e2103db8daea4 | |
| parent | 64e0d805b1bd69c81c458df794bea32966a05a98 (diff) | |
| download | homebrew-31bcf1690215ec0a8786a7460781d43e748feb80.tar.bz2 | |
Add inspect to CompilerFailure
| -rw-r--r-- | Library/Homebrew/compilers.rb | 4 |
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" } |
