Class: Wunderbar::StyleNode

Inherits:
CDATANode show all
Defined in:
lib/wunderbar/node.rb

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 CDATANode

normalize, #serialize

Methods inherited from PreformattedNode

#preserve_spaces?

Methods inherited from Node

#add_child, #at, #initialize, #method_missing, parse_css_selector, #preserve_spaces?, #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

#postObject



356
# File 'lib/wunderbar/node.rb', line 356

def post; "/*]]>*/"; end

#preObject



355
# File 'lib/wunderbar/node.rb', line 355

def pre; "/*<![CDATA[*/"; end