Permalink
Browse files

one more readme fix

  • Loading branch information...
1 parent 6675037 commit fb54ea49d3e5f98eb5e4893e8a3cce77671daf32 @jeremy6d committed Jul 28, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.rdoc
View
@@ -7,11 +7,11 @@ A tree hierarchy module for Mongoid::Document classes. Super beta.
include Mongoid::Document
include Treeoid
end
-
+
n1 = Node.new
n2 = Node.new
n3 = Node.new
-
+
n2.children << n1
n1.parent # n2
Node.hierarchically.to_a # [n2, n1, n3]

0 comments on commit fb54ea4

Please sign in to comment.