Sha256: 35647ad243db7f085d9ff1155578b95c9d945b2cc79b2448b19200dfb051f677

Contents?: true

Size: 812 Bytes

Versions: 9

Compression:

Stored size: 812 Bytes

Contents

<h2>
  <%= @klass.name %>#<%= @method_name %>
</h2>

<% full_path = "#{ @path }:#{ @line }" %>
<% shortened_path = shorten_file_path(@path) %>

<div style="margin-bottom: 10px;">
  <%= link_to "#{ shortened_path }:#{ @line }" ,
             "#",
             :title => full_path,
             :class => "path" %>
</div>


<%= @source %>

<script type="text/javascript">
  //<![CDATA[
  $(function() {
    $(".highlighted").attr("id", "highlighted").
            parents(".no").addClass("highlighted");
    window.location.hash = "#highlighted";
  });
  //]]>
</script>

<script type="text/javascript">
  //<![CDATA[
  $(function() {
    $(".path").click(function(event) {
      event.preventDefault();
      $(this).html($(this).attr("title"));
    });
  });
  //]]>
</script>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
reflexive-0.1.2 views/methods_definition.erb
reflexive-0.1.1 views/methods_definition.erb
reflexive-0.1.0 views/methods_definition.erb
reflexive-0.0.6 views/methods_definition.erb
reflexive-0.0.5 views/methods_definition.erb
reflexive-0.0.4 views/methods_definition.erb
reflexive-0.0.3 views/methods_definition.erb
reflexive-0.0.2 views/methods_definition.erb
reflexive-0.0.1 views/methods_definition.erb