Sha256: 2d7eb0292c9193487179e7c8f7d80733e9c39a9026330c5467808ed63b9f1f59

Contents?: true

Size: 972 Bytes

Versions: 5

Compression:

Stored size: 972 Bytes

Contents

%h3 StackProf Navigator - #{@action} (#{@frames.count} frames)
%hr

%a{:href => '/'} ← Back to overview
%br

- @frames.each do |frame|
  %h4
    %a{:href => file_url(frame[:location])}= frame[:location]
  - if frame[:callers].any?
    %table
      %thead
        %th Callers
        %th
        %th
        %th
      %tbody
        - frame[:callers].each do |caller|
          %tr
            %td
            %td= caller[:weight]
            %td= caller[:pct]
            %td
              %a{:href => method_url(caller[:method])}
                = caller[:method]

  - if frame[:callees].any?
    %table
      %thead
        %th Callees
        %th
        %th
        %th
      %tbody
        - frame[:callees].each do |caller|
          %tr
            %td
            %td= caller[:weight]
            %td= caller[:pct]
            %td
              %a{:href => method_url(caller[:method])}
                = caller[:method]

  %h4 Code
  != frame[:source]
  %hr

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
stackprof-webnav-0.1.0 lib/stackprof-webnav/views/method.haml
stackprof-webnav-0.0.4 lib/stackprof-webnav/views/method.haml
stackprof-webnav-0.0.3 lib/stackprof-webnav/views/method.haml
stackprof-webnav-0.0.2 lib/stackprof-webnav/views/method.haml
stackprof-webnav-0.0.1 lib/stackprof-webnav/views/method.haml