Permalink
Browse files

Fixed readme

  • Loading branch information...
1 parent eb9841b commit b1b9399f2c75240ab3e58eca329beabf94bf9639 @pyromaniac committed Nov 11, 2011
Showing with 20 additions and 0 deletions.
  1. +20 −0 README.md
View
@@ -29,6 +29,26 @@ class Item
end
```
+# Usage
+
+```
+item.move_to 2 # just change position
+item.move_to! 2 # and save
+item.move_to = 2 # assignable method
+
+# symbol position
+item.move_to :top
+item.move_to :bottom
+item.move_to :higher
+item.move_to :lower
+
+# generated methods
+item.move_to_top
+item.move_to_bottom
+item.move_higher
+item.move_lower
+```
+
# Contributing
Fork && Patch && Spec && Push && Pull request.

0 comments on commit b1b9399

Please sign in to comment.