diff options
Diffstat (limited to 'lib/rdoc/generator/template/darkfish/classpage.rhtml')
-rw-r--r-- | lib/rdoc/generator/template/darkfish/classpage.rhtml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rdoc/generator/template/darkfish/classpage.rhtml b/lib/rdoc/generator/template/darkfish/classpage.rhtml index 856321532b..9c74cacf0f 100644 --- a/lib/rdoc/generator/template/darkfish/classpage.rhtml +++ b/lib/rdoc/generator/template/darkfish/classpage.rhtml @@ -176,6 +176,8 @@ </div><!-- description --> <% klass.each_section do |section, constants, attributes| %> + <% constants = constants.select { |const| const.display? } %> + <% attributes = attributes.select { |attr| attr.display? } %> <div id="<%= section.aref %>" class="documentation-section"> <% if section.title then %> <h2 class="section-header"> |