Class: Wunderbar::PreformattedNode

Inherits:
Node
  • Object
show all
Defined in:
lib/wunderbar/node.rb

Direct Known Subclasses

CDATANode

Constant Summary

Constants inherited from Node

Node::ESCAPE, Node::VOID

Instance Attribute Summary

Attributes inherited from Node

#attrs, #children, #name, #node, #parent, #text

Instance Method Summary collapse

Methods inherited from Node

#add_child, #initialize, #method_missing, #serialize, #walk

Constructor Details

This class inherits a constructor from Wunderbar::Node

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Wunderbar::Node

Instance Method Details

#preserve_spaces?Boolean

Returns:

  • (Boolean)


175
176
177
# File 'lib/wunderbar/node.rb', line 175

def preserve_spaces?
  true
end