class Hpricot::Elem

Public Instance Methods

stag() click to toggle source
# File lib/pertinent_parser.rb, line 7
def stag
  "<#{name}#{attributes_as_html}" +
    ((empty? and not etag) ? " /" : "") +
    ">"
end