File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -403,12 +403,12 @@ If your ```order``` column is an integer attribute, you'll also have these:
403403* ```node1.prepend_sibling(node2)``` which will
404404 1. set ```node2``` to the same parent as ```node1```,
405405 2. set ```node2```' s order column to 1 less than ` ` ` node1` ` ` ' s value, and
406- 3. decrement the order_column of all children of node1' s parents whose order_column is < >> = node2' s new value by 1.
406+ 3. increment the order_column of all children of node1' s parents whose order_column is > node2' s new value by 1.
407407
408408* ```node1.append_sibling(node2)``` which will
409409 1. set ```node2``` to the same parent as ```node1```,
410410 2. set ```node2```' s order column to 1 more than ` ` ` node1` ` ` ' s value, and
411- 3. increment the order_column of all children of node1' s parents whose order_column is >= node2' s new value by 1.
411+ 3. increment the order_column of all children of node1' s parents whose order_column is > node2' s new value by 1.
412412
413413```ruby
414414
You can’t perform that action at this time.
0 commit comments