diff --git a/lib/rdoc/generator/template/aliki/class.rhtml b/lib/rdoc/generator/template/aliki/class.rhtml index c6e3164eaa..d402276d78 100644 --- a/lib/rdoc/generator/template/aliki/class.rhtml +++ b/lib/rdoc/generator/template/aliki/class.rhtml @@ -59,7 +59,11 @@ <%- unless constants.empty? %>
+ <%- if section.title %>

Constants

+ <%- else %> +

Constants

+ <%- end %>
<%- constants.each do |const| %> @@ -84,7 +88,11 @@ <%- unless attributes.empty? %>
+ <%- if section.title %>

Attributes

+ <%- else %> +

Attributes

+ <%- end %>
<%- attributes.each do |attrib| %> @@ -122,7 +130,11 @@ <%- next if methods.empty? %>