diff options
| author | Jack Nagel | 2014-08-03 15:28:26 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-08-03 15:28:51 -0500 | 
| commit | 9aac71045c3f138a50d1dd042bb6bd7696f65ba6 (patch) | |
| tree | e59ee3a8835f8b354ff36ac63b6a3e73187e961b /Library/Homebrew/compilers.rb | |
| parent | 5a2ae61e66e517e1688ddcbc7c2ac822d780bbd5 (diff) | |
| download | brew-9aac71045c3f138a50d1dd042bb6bd7696f65ba6.tar.bz2 | |
Add inspect to CompilerFailure
Diffstat (limited to 'Library/Homebrew/compilers.rb')
| -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"    } | 
