about summary refs log tree commit homepage
path: root/lib/oldweb/_sidebar_methods.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oldweb/_sidebar_methods.rhtml')
-rw-r--r--lib/oldweb/_sidebar_methods.rhtml6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/oldweb/_sidebar_methods.rhtml b/lib/oldweb/_sidebar_methods.rhtml
new file mode 100644
index 0000000..f84fe9c
--- /dev/null
+++ b/lib/oldweb/_sidebar_methods.rhtml
@@ -0,0 +1,6 @@
+<% unless klass.method_list.empty? %>
+<h3 id="method-list-section">Methods</h3><%
+klass.each_method do |meth| %>
+<a href="#<%= meth.aref %>"><%=
+meth.singleton ? '::' : '#' %><%= h meth.name %></a><%
+end %><% end %>