summaryrefslogtreecommitdiff
path: root/lib/rdoc/generators
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rdoc/generators')
-rw-r--r--lib/rdoc/generators/template/html/one_page_html.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/rdoc/generators/template/html/one_page_html.rb b/lib/rdoc/generators/template/html/one_page_html.rb
index ca69908c97..19441f4725 100644
--- a/lib/rdoc/generators/template/html/one_page_html.rb
+++ b/lib/rdoc/generators/template/html/one_page_html.rb
@@ -52,7 +52,13 @@ IF:method_list
START:method_list
IF:methods
START:methods
-<h4>%type% %category% method: <a name="%aref%">%name%%params%</a></h4>
+<h4>%type% %category% method:
+IF:callseq
+<a name="%aref%">%callseq%</a>
+ENDIF:callseq
+IFNOT:callseq
+<a name="%aref%">%name%%params%</a></h4>
+ENDIF:callseq
IF:m_desc
%m_desc%