Class: Hpricot::Elem
- Inherits:
-
Object
- Object
- Hpricot::Elem
- Defined in:
- lib/pertinent_parser.rb
Instance Method Summary collapse
Instance Method Details
#stag ⇒ Object
7 8 9 10 11 |
# File 'lib/pertinent_parser.rb', line 7 def stag "<#{name}#{attributes_as_html}" + ((empty? and not etag) ? " /" : "") + ">" end |