In Files

Parent

Methods

Files

RI::MethodSummary

Public Instance Methods

to_html(container_tag="em") click to toggle source

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 938
def to_html(container_tag="em")
  doc = REXML::Document.new
  doc.add_element(container_tag).add_text(name)
  doc
end
to_text() click to toggle source
# File lib/ihelp.rb, line 944
def to_text
  name
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.