Class: Wunderbar::TextNode
Direct Known Subclasses
Constant Summary
Constants inherited from Node
Instance Attribute Summary
Attributes inherited from Node
#attrs, #children, #name, #node, #parent, #text
Instance Method Summary collapse
-
#initialize(*args) ⇒ TextNode
constructor
A new instance of TextNode.
- #serialize(options, result, indent) ⇒ Object
Methods inherited from Node
#add_child, #method_missing, #preserve_spaces?, #walk
Constructor Details
#initialize(*args) ⇒ TextNode
Returns a new instance of TextNode.
214 215 216 |
# File 'lib/wunderbar/node.rb', line 214 def initialize(*args) super(nil, *args) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Wunderbar::Node