Class: Html::Container
Overview
Class that sets off the tag by newlines to aid in readability for raw output.
Direct Known Subclasses
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
76 77 78 |
# File 'lib/html/base.rb', line 76 def processed_output(contents) "\n<#{tag}#{attributes}>\n#{contents}\n</#{tag}>\n" end |