<% @title = object.full_name %> <% if object.deprecated? %>
<%= img_tag('pdoc/deprecated.png', :alt => "Deprecated", :width => 150, :height => 150) %>
<% end %>

<%= object.type %> <%= object.full_name %>

<% if object.respond_to?(:src_code_href) && object.src_code_href %> <% anchor_text = object.respond_to?(:src_code_text) ? object.src_code_text : "View source code →" %>

<%= anchor_text %>

<% end %>