Class RI::MethodSummary
In: lib/ihelp.rb
Parent: Object
MethodDescription Attribute Constant ClassDescription MethodSummary lib/ihelp.rb RI dot/m_0_0.png

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 939
939:     def to_html(container_tag="em")
940:       doc = REXML::Document.new
941:       doc.add_element(container_tag).add_text(name)
942:       doc
943:     end

[Source]

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

[Validate]