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, parent = nil) ⇒ ThematicBreak
constructor
A new instance of ThematicBreak.
Methods inherited from Node
#blocks, #debug_node, #find_ancestor, #links, #node_type, #overrides, #parent_type, #render_node
Constructor Details
#initialize(node, root, parent = nil) ⇒ ThematicBreak
Returns a new instance of ThematicBreak.
4 5 6 |
# File 'app/components/dato/thematic_break.rb', line 4 def initialize(node, root, parent = nil) super(node, "thematicBreak", root, parent) end |
Instance Method Details
#generated_tag ⇒ Object
8 9 10 |
# File 'app/components/dato/thematic_break.rb', line 8 def generated_tag "hr" end |