parent=

parent=( other )
Instance Public methods

Sets the parent of this child to the supplied argument.

other

Must be a Parent object. If this object is the same object as the existing parent of this child, no action is taken. Otherwise, this child is removed from the current parent (if one exists), and is added to the new parent.

Returns

The parent added

doc_ruby_on_rails
2015-05-06 03:24:18
Comments
Leave a Comment

Please login to continue.