Permalink
Browse files

Update the readme with the latest information

  • Loading branch information...
cespare committed Jul 18, 2011
1 parent a510bb3 commit 864c6cb06ee93f590879a1dc23a94dc4dd5a6c82
Showing with 4 additions and 0 deletions.
  1. +4 −0 README.md
View
@@ -23,6 +23,10 @@ h = Hash.new { |k, v| k[v] = "foobar" }
h = Hash.deep(1) { 0 } # is equivalent to
h = Hash.new { |k1, v1| k1[v1] = Hash.new { |k2, v2| k2[v2] = 0 } }
+
+h = Hash.deep # an arbitrarily deep hash
+h[1][2][3] = 4
+h[:foo][:bar] = :baz
```
Installation

0 comments on commit 864c6cb

Please sign in to comment.