From 37ea0baccfe8b6c2a3004296d87fdafdc93b6f29 Mon Sep 17 00:00:00 2001 From: Mohammed Gharbi Date: Tue, 22 Dec 2015 15:18:54 +0100 Subject: [PATCH] fixing ordering in README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cb090686..7628e59c 100644 --- a/README.md +++ b/README.md @@ -400,12 +400,12 @@ If your ```order``` column is an integer attribute, you'll also have these: * ```node1.prepend_sibling(node2)``` which will 1. set ```node2``` to the same parent as ```node1```, 2. set ```node2```'s order column to 1 less than ```node1```'s value, and - 3. decrement the order_column of all children of node1's parents whose order_column is <>>= node2's new value by 1. + 3. increment the order_column of all children of node1's parents whose order_column is > node2's new value by 1. * ```node1.append_sibling(node2)``` which will 1. set ```node2``` to the same parent as ```node1```, 2. set ```node2```'s order column to 1 more than ```node1```'s value, and - 3. increment the order_column of all children of node1's parents whose order_column is >= node2's new value by 1. + 3. increment the order_column of all children of node1's parents whose order_column is > node2's new value by 1. ```ruby