|
98 | 98 |
|
99 | 99 | <%- methods.each do |method| -%> |
100 | 100 | <div id="<%= method.aref %>" class="method-detail <%= method.is_alias_for ? "method-alias" : '' %>"> |
101 | | - <%- if (call_seq = method.call_seq) then -%> |
102 | | - <%- call_seq.strip.split("\n").each_with_index do |call_seq, i| -%> |
103 | | - <div class="method-heading"> |
104 | | - <span class="method-callseq"> |
105 | | - <%= h(call_seq.strip. |
106 | | - gsub( /^\w+\./m, '')). |
107 | | - gsub(/(.*)[-=]>/, '\1→') %> |
108 | | - </span> |
109 | | - <%- if i == 0 and method.token_stream then -%> |
110 | | - <span class="method-click-advice">click to toggle source</span> |
111 | | - <%- end -%> |
112 | | - </div> |
113 | | - <%- end -%> |
114 | | - <%- else -%> |
115 | | - <div class="method-heading"> |
116 | | - <span class="method-name"><%= h method.name %></span><span |
117 | | - class="method-args"><%= h method.param_seq %></span> |
118 | | - <%- if method.token_stream then -%> |
119 | | - <span class="method-click-advice">click to toggle source</span> |
| 101 | + <div class="method-header"> |
| 102 | + <%- if (call_seq = method.call_seq) then -%> |
| 103 | + <%- call_seq.strip.split("\n").each_with_index do |call_seq, i| -%> |
| 104 | + <div class="method-heading"> |
| 105 | + <span class="method-callseq"> |
| 106 | + <%= h(call_seq.strip. |
| 107 | + gsub( /^\w+\./m, '')). |
| 108 | + gsub(/(.*)[-=]>/, '\1→') %> |
| 109 | + </span> |
| 110 | + <%- if i == 0 and method.token_stream then -%> |
| 111 | + <span class="method-click-advice">click to toggle source</span> |
| 112 | + <%- end -%> |
| 113 | + </div> |
| 114 | + <%- end -%> |
| 115 | + <%- else -%> |
| 116 | + <div class="method-heading"> |
| 117 | + <span class="method-name"><%= h method.name %></span><span |
| 118 | + class="method-args"><%= h method.param_seq %></span> |
| 119 | + <%- if method.token_stream then -%> |
| 120 | + <span class="method-click-advice">click to toggle source</span> |
| 121 | + <%- end -%> |
| 122 | + </div> |
120 | 123 | <%- end -%> |
121 | 124 | </div> |
122 | | - <%- end -%> |
123 | 125 |
|
124 | 126 | <div class="method-description"> |
125 | 127 | <%- if method.comment then -%> |
|
0 commit comments