This method is deprecated or moved on the latest stable version.
The last existing version (v4.1.8) is shown here.
new(parent, line, pos, name, attributes, closing)
public
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.
# File actionview/lib/action_view/vendor/html-scanner/html/node.rb, line 291
def initialize(parent, line, pos, name, attributes, closing)
super(parent, line, pos)
@name = name
@attributes = attributes
@closing = closing
end