Class RI::MethodSummary
In: lib/ihelp.rb
Parent: Object

Methods

to_html   to_text  

Public Instance methods

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.

[Source]

     # File lib/ihelp.rb, line 938
938:     def to_html(container_tag="em")
939:       doc = REXML::Document.new
940:       doc.add_element(container_tag).add_text(name)
941:       doc
942:     end

[Source]

     # File lib/ihelp.rb, line 944
944:     def to_text
945:       name
946:     end

[Validate]