From 1a33c544b74cbe91bd5e90318db6809a257c368e Mon Sep 17 00:00:00 2001 From: dave Date: Sun, 12 Dec 2004 01:37:24 +0000 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ lib/rdoc/generators/template/html/html.rb | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3922849546..c6221626a9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Dec 12 10:35:10 2004 Dave Thomas + + * 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 * 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 %name% +IF:rw  [%rw%]  +ENDIF:rw +IFNOT:rw +    +ENDIF:rw %a_desc% END:attributes