Sha256: 5884f5536360a8974b0e64c1117961bda9dc5045357f90f8aa947500766356a1

Contents?: true

Size: 185 Bytes

Versions: 3

Compression:

Stored size: 185 Bytes

Contents

module Spackle::Output
  class VimQuickfix < Base
    def format_backtrace_line(message, file, line)
      "%s:%d: %s" % [ file, line.to_i, message.gsub(/\n/, ' ') ] 
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spackle-0.0.3 lib/spackle/output/vim_quickfix.rb
spackle-0.0.2 lib/spackle/output/vim_quickfix.rb
spackle-0.0.1 lib/spackle/output/vim_quickfix.rb