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, #at, #initialize, #method_missing, parse_css_selector, #root, #search, #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)


269
270
271
# File 'lib/wunderbar/node.rb', line 269

def preserve_spaces?
  true
end