Class: Dato::NotRendered

Inherits:
DastNode
  • Object
show all
Defined in:
app/components/dato/not_rendered.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) ⇒ NotRendered

Returns a new instance of NotRendered.



5
6
7
# File 'app/components/dato/not_rendered.rb', line 5

def initialize(node, root)
  super(node, node.type, root)
end

Instance Method Details

#render?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'app/components/dato/not_rendered.rb', line 9

def render?
  false
end