Class: Html::Item

Inherits:
Base show all
Defined in:
lib/html/base.rb

Direct Known Subclasses

H1, H2, H3, H4, ListItem

Instance Method Summary collapse

Methods inherited from Base

#<<, #attributes, #initialize, tag, #tag

Constructor Details

This class inherits a constructor from Html::Base

Instance Method Details

#processed_output(contents) ⇒ Object



82
83
84
# File 'lib/html/base.rb', line 82

def processed_output(contents)
  "<#{tag}#{attributes}>#{contents}</#{tag}>\n"
end