File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
lib/rdoc/generator/template Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 110110 </ section >
111111 <%- end %>
112112
113- <%- klass . methods_by_type ( section ) . each do |type , visibilities |
114- next if visibilities . empty?
115- visibilities . each do |visibility , methods |
116- next if methods . empty? %>
113+ <%- klass . methods_by_type ( section ) . each do |type , visibilities | %>
114+ <%- next if visibilities . empty? %>
115+ <%- visibilities . each do |visibility , methods | %>
116+ <%- next if methods . empty? %>
117117 < section id ="<%= visibility %> -<%= type %> -<%= section . aref %> -method-details " class ="method-section anchor-link ">
118118 < header >
119119 < h3 id ="<%= visibility %> -<%= type %> -methods "> < a href ="#<%= visibility %> -<%= type %> -methods "> <%= visibility . to_s . capitalize %> <%= type . capitalize %> Methods</ a > </ h3 >
206206
207207 <%- end %>
208208 </ section >
209- <%- end
210- end %>
209+ <%- end %>
210+ <%- end %>
211211 </ section >
212212<%- end %>
213213</ main >
Original file line number Diff line number Diff line change 117117 </ section >
118118 <%- end %>
119119
120- <%- klass . methods_by_type ( section ) . each do |type , visibilities |
121- next if visibilities . empty?
122- visibilities . each do |visibility , methods |
123- next if methods . empty? %>
120+ <%- klass . methods_by_type ( section ) . each do |type , visibilities | %>
121+ <%- next if visibilities . empty? %>
122+ <%- visibilities . each do |visibility , methods | %>
123+ <%- next if methods . empty? %>
124124 < section id ="<%= visibility %> -<%= type %> -<%= section . aref %> -method-details " class ="method-section anchor-link ">
125125 < header >
126126 < h3 > <%= visibility . to_s . capitalize %> <%= type . capitalize %> Methods</ h3 >
213213
214214 <%- end %>
215215 </ section >
216- <%- end
217- end %>
216+ <%- end %>
217+ <%- end %>
218218 </ section >
219219<%- end %>
220220</ main >
You can’t perform that action at this time.
0 commit comments