summaryrefslogtreecommitdiffstats
path: root/lib/rdoc/generators
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-12 01:36:57 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-12 01:36:57 +0000
commit9cc62ea4ad95b19e24fe2e8d7b3cf86547b6f0e5 (patch)
treee6d7f4fe50bd6ed49d065cecb999d0e1ab979f40 /lib/rdoc/generators
parentd1b8b5e86bce06e566afe64b9742307c87f9c064 (diff)
downloadruby-9cc62ea4ad95b19e24fe2e8d7b3cf86547b6f0e5.tar.gz
ruby-9cc62ea4ad95b19e24fe2e8d7b3cf86547b6f0e5.tar.xz
ruby-9cc62ea4ad95b19e24fe2e8d7b3cf86547b6f0e5.zip
Don't show r/w accessot flags if none were specified for custom attributes
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/generators')
-rw-r--r--lib/rdoc/generators/template/html/html.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/rdoc/generators/template/html/html.rb b/lib/rdoc/generators/template/html/html.rb
index 72e57baa3..6bbde4600 100644
--- a/lib/rdoc/generators/template/html/html.rb
+++ b/lib/rdoc/generators/template/html/html.rb
@@ -529,7 +529,12 @@ IF:attributes
START:attributes
<tr class="top-aligned-row context-row">
<td class="context-item-name">%name%</td>
+IF:rw
<td class="context-item-value">&nbsp;[%rw%]&nbsp;</td>
+ENDIF:rw
+IFNOT:rw
+ <td class="context-item-value">&nbsp;&nbsp;</td>
+ENDIF:rw
<td class="context-item-desc">%a_desc%</td>
</tr>
END:attributes