Sha256: 52812f594ee24213f37f1ff61cdb4b0202b06620eafa6e97609ee862628f0741
Contents?: true
Size: 1.93 KB
Versions: 1
Compression:
Stored size: 1.93 KB
Contents
<!DOCTYPE html> <html lang="en"> <head> <title><%= h klass.full_name %></title> <meta http-equiv="Content-Type" content="text/html; charset=<%= @options.charset %>" /> <%= include_template '_head.rhtml', {:rel_prefix => rel_prefix} %> <meta property="og:title" value="<%= klass.full_name %>"> <% unless (description = klass.description).empty? %> <% human_desc = truncate(strip_tags(description.gsub("\n", " ").strip)) %> <meta name="description" content="<%= human_desc %>"> <meta property="og:description" content="<%= human_desc %>"> <% end %> <meta name="keywords" content="<%= klass.full_name %> class"> <% unless klass.method_list.empty? %> <meta name="keywords" content="<%= klass.method_list.map(&:name).join(", ") %>"> <% end %> </head> <body> <div class="banner"> <% if ENV['HORO_PROJECT_NAME'] %> <span><%= ERB::Util.html_escape(ENV['HORO_PROJECT_NAME']) %> <%= ERB::Util.html_escape(ENV['HORO_PROJECT_VERSION']) %></span><br /> <% end %> <h1> <span class="type"><%= klass.module? ? 'Module' : 'Class' %></span> <%= h klass.full_name %> <% if klass.type == 'class' %> <span class="parent">< <% if String === klass.superclass %> <%= klass.superclass %> <% elsif !klass.superclass.nil? %> <a href="<%= klass.aref_to klass.superclass.path %>"><%= h klass.superclass.full_name %></a> <% end %> </span> <% end %> </h1> <ul class="files"> <% klass.in_files.each do |file| %> <li><a href="<%= "#{rel_prefix}/#{h file.path}" %>"><%= h file.absolute_name %></a></li> <% end %> </ul> </div> <div id="bodyContent"> <%= include_template '_context.rhtml', {:context => klass, :rel_prefix => rel_prefix} %> </div> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sdoc-2.0.4 | lib/rdoc/generator/template/sdoc/class.rhtml |