Browse files

Readme change.

  • Loading branch information...
1 parent 9bcbe9a commit 685a7616e55659ca5bd16875f620e67d81f7aad7 Julian Connor committed Aug 11, 2011
Showing with 13 additions and 0 deletions.
  1. +13 −0 README.md
View
13 README.md
@@ -35,6 +35,19 @@ search.tracks.each do |track|
end
```
+### _keys_ & _length_
+Traverse provides custom methods to help with traversal.
+
+If you are traversing a hash: ```_keys_``` will be available. The method ```_length_``` will always be available.
+
+```ruby
+search._length_
+# => 20
+
+search.first._keys_
+# => ["user","favorited","source","id","text","created_at"]
+```
+
### Examples
For a slightly more complicated example, take a look at a

0 comments on commit 685a761

Please sign in to comment.