Class: Dato::Block

Inherits:
DastNode show all
Defined in:
app/components/dato/block.rb

Instance Attribute Summary

Attributes inherited from Node

#root

Instance Method Summary collapse

Methods inherited from DastNode

#generated_tag

Methods inherited from Node

#blocks, #debug_node, #overrides, #render_node

Constructor Details

#initialize(node, root) ⇒ Block

Returns a new instance of Block.



4
5
6
# File 'app/components/dato/block.rb', line 4

def initialize(node, root)
  super(node, "block", root)
end