diff options
author | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-12 01:37:24 +0000 |
---|---|---|
committer | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-12 01:37:24 +0000 |
commit | 1a33c544b74cbe91bd5e90318db6809a257c368e (patch) | |
tree | f5a927579f9e8dba968a7bb005c31cc5eefd3499 /lib/rdoc | |
parent | 975fc745b3764664c177b07b35677c9dcfbbf47f (diff) |
Don't show r/w accessor flags if none were specified for custom attributes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc')
-rw-r--r-- | lib/rdoc/generators/template/html/html.rb | 5 |
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 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 |