class Async::Node
def parent=(parent)
-
(self)
-
Parameters:
-
parent
(Node, nil
) -- the parent to attach to, or nil to detach.
def parent=(parent) return if @parent.equal?(parent) if @parent @parent.delete_child(self) @parent = nil end if parent parent.add_child(self) end return self end