Class | RI::MethodSummary |
In: |
lib/ihelp.rb
|
Parent: | Object |
Creates HTML element from the ClassDescription. Puts the method’s name inside the tag named in container_tag.
Returns a REXML document with container_tag as the root element name.
# File lib/ihelp.rb, line 512 512: def to_html(container_tag="em") 513: doc = REXML::Document.new 514: doc.add_element(container_tag).add_text(name) 515: doc 516: end