about summary refs log tree commit
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2012-10-04 17:08:02 -0700
committerEric Wong <normalperson@yhbt.net>2012-10-04 17:08:02 -0700
commit7924ac484e8fc6abdbb3bf17321b08aaa190cb7a (patch)
tree7f2c1d52016a9cb5b304401e46e722063fddc34c
parent523c6a46b06a726d63aa7a27840b79586f356bb5 (diff)
downloadrpatricia-7924ac484e8fc6abdbb3bf17321b08aaa190cb7a.tar.gz
README: documentation for Patricia#nodes method
-rw-r--r--README7
1 files changed, 7 insertions, 0 deletions
diff --git a/README b/README
index ebdb8fb..459f03d 100644
--- a/README
+++ b/README
@@ -165,6 +165,13 @@ show_nodes:
 
      This method prints all the nodes in the Patricia Trie.
 
+nodes:
+
+       pt.nodes
+
+     This method returns all the nodes and values in the Patricia Trie
+     as a Ruby Hash object.
+
 data:
 
        node.data