Sha256: 4ad8d99bb5e8f46dc69c5c930be8233835c73c926662d28ab5d2db41c70c3fd0

Contents?: true

Size: 1.96 KB

Versions: 1

Compression:

Stored size: 1.96 KB

Contents

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <title><%= h klass.full_name %></title>
    <meta http-equiv="Content-Type" content="text/html; charset=<%= @options.charset %>" />
    <link rel="stylesheet" href="<%= "#{rel_prefix}/css/reset.css" %>" type="text/css" media="screen" />
    <link rel="stylesheet" href="<%= "#{rel_prefix}/css/main.css" %>" type="text/css" media="screen" />
    <script src="<%= "#{rel_prefix}/js/jquery-1.3.2.min.js" %>" type="text/javascript" charset="utf-8"></script>
    <script src="<%= "#{rel_prefix}/js/jquery-effect.js" %>" type="text/javascript" charset="utf-8"></script>
    <script src="<%= "#{rel_prefix}/js/main.js" %>" type="text/javascript" charset="utf-8"></script>
</head>

<body>     
    <div class="banner">
        <h1>
            <% if klass.full_name != 'Global' %>
            <span class="type"><%= klass.module? ? 'Module' : 'Class' %></span> 
            <% end %>
            <%= h klass.full_name %> 
            <% if klass.type == 'class' && !klass.superclass.nil? %>
                <span class="parent">&lt; 
                    <% 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
wpdoc-0.2.17 lib/wpdoc/generator/template/direct/class.rhtml