README.md in tfg_support-0.0.1 vs README.md in tfg_support-0.0.2
- old
+ new
@@ -2,11 +2,11 @@
## Installation
Add this line to your application's Gemfile:
- gem 'tfg_support', git: "git@github.com:Amerdrix/TFG-support.git"
+ gem 'tfg_support'
And then execute:
$ bundle
@@ -26,11 +26,12 @@
with
value = hash.deep[:foo, :bar, :baz]
-also works for setting, creating a new hash one isn't present
+also works for setting. New hashes will be created for missing keys.
+ hash = {:foo=>{:bar=>{:baz=>:fizz}}}
hash.deep[:foo, :bar, :baz] = :frob
hash.deep[:foo, :missing_key, :baz] = :frob
hash
=> {:foo=>{:bar=>{:baz=>:frob}, :missing_key=>{:baz=>:frob}}}