README.md in hash_ext-0.3.1 vs README.md in hash_ext-0.4.0
- old
+ new
@@ -90,9 +90,17 @@
hash[:a] = 3
hash.keys # => [:a, :b, :c]
```
+### Nested
+```ruby
+hash = Hash::Nested.new
+
+hash[:level_1][:level_2][:level_3] = 'value'
+
+hash # => {level_1: {level_2: {level_3: 'value'}}}
+```
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/gabynaiman/hash_ext.