Class: DatoDast::Nodes::ThematicBreak

Inherits:
Base
  • Object
show all
Defined in:
lib/dato_dast/nodes/thematic_break.rb

Constant Summary

Constants inherited from Base

Base::EMPTY, Base::NEWLINE

Instance Method Summary collapse

Methods inherited from Base

#children, #config, #css_class, #initialize, #meta, #node_config, #render_children, #render_value, #tag, #tag_info, #type, type, #wrappers

Constructor Details

This class inherits a constructor from DatoDast::Nodes::Base

Instance Method Details

#renderObject



4
5
6
# File 'lib/dato_dast/nodes/thematic_break.rb', line 4

def render
  "<#{tag}/>\n"
end