Skip to content

Commit e7a3603

Browse files
Gharbi Mohammedseuros
authored andcommitted
fixing ordering in README (#192)
1 parent 559a69d commit e7a3603

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)