Class: Dato::ThematicBreak
- Defined in:
- app/components/dato/thematic_break.rb
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
- #generated_tag ⇒ Object
-
#initialize(node, root) ⇒ ThematicBreak
constructor
A new instance of ThematicBreak.
Methods inherited from Node
#blocks, #debug_node, #overrides, #render_node
Constructor Details
#initialize(node, root) ⇒ ThematicBreak
Returns a new instance of ThematicBreak.
4 5 6 |
# File 'app/components/dato/thematic_break.rb', line 4 def initialize(node, root) super(node, "thematicBreak", root) end |
Instance Method Details
#generated_tag ⇒ Object
8 9 10 |
# File 'app/components/dato/thematic_break.rb', line 8 def generated_tag "hr" end |