From 1e760c0be3ed35874204114e7454509f740c0fe2 Mon Sep 17 00:00:00 2001 From: shyouhei Date: Wed, 22 Aug 2007 01:53:51 +0000 Subject: add tag v1_8_6_71 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_8_5_71@13189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ruby_1_8_6/lib/rdoc/generators/template/xml/xml.rb | 112 +++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 ruby_1_8_6/lib/rdoc/generators/template/xml/xml.rb (limited to 'ruby_1_8_6/lib/rdoc/generators/template/xml/xml.rb') diff --git a/ruby_1_8_6/lib/rdoc/generators/template/xml/xml.rb b/ruby_1_8_6/lib/rdoc/generators/template/xml/xml.rb new file mode 100644 index 0000000000..4a0c8c9ac4 --- /dev/null +++ b/ruby_1_8_6/lib/rdoc/generators/template/xml/xml.rb @@ -0,0 +1,112 @@ +module RDoc +module Page + + + +CONTENTS_XML = %{ +IF:description + +%description% + +ENDIF:description + +IF:requires + +START:requires + +END:requires + +ENDIF:requires +IF:attributes + +START:attributes + +IF:rw + %rw% +ENDIF:rw + %a_desc% + +END:attributes + +ENDIF:attributes +IF:includes + +START:includes + +END:includes + +ENDIF:includes +IF:method_list + +START:method_list +IF:methods +START:methods + + %params% +IF:m_desc + +%m_desc% + +ENDIF:m_desc +IF:sourcecode + +%sourcecode% + +ENDIF:sourcecode + +END:methods +ENDIF:methods +END:method_list + +ENDIF:method_list + +} + +######################################################################## + +ONE_PAGE = %{ + + +START:files + + + %full_path% + %dtm_modified% + +} + CONTENTS_XML + %{ + +END:files + + +START:classes + <%classmod% name="%full_name%" id="%full_name%"> + +IF:infiles + +START:infiles + HREF:full_path_url:full_path: +END:infiles + +ENDIF:infiles +IF:parent + HREF:par_url:parent: +ENDIF:parent + +} + CONTENTS_XML + %{ + +END:classes + + +} + + +end +end -- cgit v1.2.3