Create a new node as a child of the given parent, using the given content to describe the node. It will be parsed and the node name, attributes and closing status extracted.
Source Code
# File action_controller/vendor/html-scanner/html/node.rb, line 289 def initialize(parent, line, pos, name, attributes, closing) super(parent, line, pos) @name = name @attributes = attributes @closing = closing end
<code/>and<pre/>for code samples.