Class: Spackle::Output::VimQuickfix

Inherits:
Base
  • Object
show all
Defined in:
lib/spackle/output/vim_quickfix.rb

Instance Attribute Summary

Attributes inherited from Base

#error

Instance Method Summary collapse

Methods inherited from Base

#format, format, #formatted_lines, #initialize

Constructor Details

This class inherits a constructor from Spackle::Output::Base

Instance Method Details

#format_backtrace_line(message, file, line) ⇒ Object



3
4
5
# File 'lib/spackle/output/vim_quickfix.rb', line 3

def format_backtrace_line(message, file, line)
  "%s:%d: %s" % [ file, line.to_i, message.gsub(/\n/, ' ') ] 
end