Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v4.1.8) is shown here.
new(parent, line=0, pos=0)
public
Create a new node as a child of
the given parent.
# File actionview/lib/action_view/vendor/html-scanner/html/node.rb, line 68
def initialize(parent, line=0, pos=0)
@parent = parent
@children = []
@line, @position = line, pos
end