summaryrefslogtreecommitdiff
path: root/lib/rdoc/generator/template/darkfish
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rdoc/generator/template/darkfish')
-rw-r--r--lib/rdoc/generator/template/darkfish/class.rhtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rdoc/generator/template/darkfish/class.rhtml b/lib/rdoc/generator/template/darkfish/class.rhtml
index 7733095086..596764ddc5 100644
--- a/lib/rdoc/generator/template/darkfish/class.rhtml
+++ b/lib/rdoc/generator/template/darkfish/class.rhtml
@@ -98,8 +98,8 @@
<% methods.each do |method| %>
<div id="<%= method.aref %>" class="method-detail <%= method.is_alias_for ? "method-alias" : '' %>">
- <% if method.call_seq then %>
- <% method.call_seq.strip.split("\n").each_with_index do |call_seq, i| %>
+ <% if (call_seq = method.call_seq) then %>
+ <% call_seq.strip.split("\n").each_with_index do |call_seq, i| %>
<div class="method-heading">
<span class="method-callseq">
<%= h(call_seq.strip.