Class: Garterbelt::Xml
- Defined in:
- lib/renderers/xml.rb
Instance Attribute Summary
Attributes inherited from ClosedTag
#attributes, #css_class, #type
Attributes inherited from Renderer
Instance Method Summary collapse
Methods inherited from ClosedTag
#c, #id, #initialize, #render, #rendered_attributes
Methods inherited from Renderer
#indent, #initialize, #level, #line_end, #output, #output=, #render
Constructor Details
This class inherits a constructor from Garterbelt::ClosedTag
Instance Method Details
#template ⇒ Object
3 4 5 |
# File 'lib/renderers/xml.rb', line 3 def template "#{indent}<?xml #{rendered_attributes} ?>\n" end |