Class: Bemer::Tree::TextNode

Inherits:
BaseNode show all
Defined in:
lib/bemer/tree/text_node.rb

Instance Attribute Summary

Attributes inherited from BaseNode

#entity, #entity_builder, #tree

Instance Method Summary collapse

Methods inherited from BaseNode

#need_replace?, #print, #render

Constructor Details

#initialize(tree, content = nil, &callback) ⇒ TextNode

Returns a new instance of TextNode.



6
7
8
# File 'lib/bemer/tree/text_node.rb', line 6

def initialize(tree, content = nil, &callback)
  super(tree, tag: false, content: content, &callback)
end