mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
14 lines
585 B
Text
14 lines
585 B
Text
<div id="menu">
|
|
<% unless @file && @file.filename == 'README.md' %>
|
|
<span class="title">
|
|
<%= linkify('file:README.md', 'Home') %>
|
|
</span> »
|
|
<% end %>
|
|
<% if @contents || @file %>
|
|
<span class="title"><%= @breadcrumb_title %></span>
|
|
<% elsif object.is_a?(CodeObjects::Base) %>
|
|
<%= @breadcrumb.map {|obj| "<span class='title'>" + linkify(obj, obj.name) + "</span>" }.join(" » ") %>
|
|
<%= @breadcrumb.size > 0 ? " » " : "" %>
|
|
<span class="title"><%= object.root? ? "Top Level Namespace" : object.name(true) %></span>
|
|
<% end %>
|
|
</div>
|