concordia-publishing-house/errbit

View on GitHub
app/views/notices/_backtrace_line.html.haml

Summary

Maintainability
Test Coverage
%tr{:class => defined?(row_class) && row_class}
  %td.line{:class => line.in_app? && 'in-app' }
    = link_to_source_file(line, @notice) do
      %span.path>= raw line.decorated_path
      %span.file>= line.file_name
      - if line.number.present?
        %span.number>= ":#{line.number}"
      - if line.column.present?
        %span.number>= ":#{line.column}"
    →
    %span.method= line.method