diff options
author | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-12 01:36:57 +0000 |
---|---|---|
committer | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-12 01:36:57 +0000 |
commit | 5f87cfb94ca437bcd1fec2a5f5f2051ebe48e459 (patch) | |
tree | e6d7f4fe50bd6ed49d065cecb999d0e1ab979f40 | |
parent | 05b5e64ac3a33930dcfdd6ace3ff549d3813d8e7 (diff) | |
download | ruby-5f87cfb94ca437bcd1fec2a5f5f2051ebe48e459.tar.gz |
Don't show r/w accessot flags if none were specified for custom attributes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/rdoc/generators/template/html/html.rb | 5 |
2 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Sun Dec 12 10:35:10 2004 Dave Thomas <dave@pragprog.com> + + * lib/rdoc/generators/template/html/html.rb (RDoc::Page): Don't + show an accessor's r/w flag if none was specified + Sun Dec 12 10:14:03 2004 Dave Thomas <dave@pragprog.com> * lib/rdoc/rdoc.rb (RDoc::RDoc::parse_files): Never exclude files diff --git a/lib/rdoc/generators/template/html/html.rb b/lib/rdoc/generators/template/html/html.rb index 72e57baa3a..6bbde46000 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"> [%rw%] </td> +ENDIF:rw +IFNOT:rw + <td class="context-item-value"> </td> +ENDIF:rw <td class="context-item-desc">%a_desc%</td> </tr> END:attributes |