<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -177,15 +177,15 @@ module MongoTree
     # children is accessed (see Tree#children).
     # If the key is not _numeric_, then it is assumed to be
     # the *name* of the child node to be returned.
-    def [](key)
-        raise &quot;Key needs to be provided&quot; if key == nil
-        
-        if key.kind_of?(Integer)
-          children[key]
-        else
-          descendants.select {|child, level| child.name == key}.first[0]
-        end
-    end
+    # def [](key)
+    #     raise &quot;Key needs to be provided&quot; if key == nil
+    #     
+    #     if key.kind_of?(Integer)
+    #       children[key]
+    #     else
+    #       descendants.select {|child, level| child.name == key}.first[0]
+    #     end
+    # end
 
     # Returns the total number of nodes in this tree, rooted
     # at the receiver node.</diff>
      <filename>lib/mongo_tree.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3c8c10cfbf7b746b068de01da428014d3b807270</id>
    </parent>
  </parents>
  <author>
    <name>Jim Mulholland</name>
    <email>jim@jim-mb-pro.local</email>
  </author>
  <url>http://github.com/mully/mongo_tree/commit/957ca5024b3faa88f5487d89b26b035524aeacb5</url>
  <id>957ca5024b3faa88f5487d89b26b035524aeacb5</id>
  <committed-date>2009-05-20T08:55:17-07:00</committed-date>
  <authored-date>2009-05-20T08:55:17-07:00</authored-date>
  <message>It seems that the 'def []' method is not necessary</message>
  <tree>879080858c0c2e67fa251899215455cbb3ea3c0c</tree>
  <committer>
    <name>Jim Mulholland</name>
    <email>jim@jim-mb-pro.local</email>
  </committer>
</commit>
