.rack_console
=haml :'console/server_info', locals: locals .result .file %dl - if @result_ok %dt File: %dd.file_name =file_name_tag(h @source_file.file) %a.methods{href: source_file_methods_href(@source_file.file)} (methods) %dt Source: %dd.source %table.source_listing - @source_file.lines.each do | line | %tr.source_line %td{class: line[:class] * ' '}> %a{name: line[:line]}> %span.source_line=h("%4d %s" % [ line[:line], line[:str] ]).gsub(' ', ' ') =haml :'console/error', locals: locals