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