| Module | SM::Flow |
| In: |
lib/ihelp.rb
|
# File lib/ihelp.rb, line 975
975: def to_html
976: tag = self.class.to_s.split("::").last
977: tag = "PRE" if tag == "VERB"
978: xmlstr = %Q(<#{tag}>
979: #{body if respond_to? :body}
980: #{contents.map{|c|c.to_html} if respond_to? :content}
981: </#{tag}>)
982: REXML::Document.new(xmlstr)
983: end