tfg_support 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/lib/tfg_support/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d2e74fe149cb3556dbb7838fcd794b6c366f20d
|
4
|
+
data.tar.gz: 69d75ea4414ca09562bed2a9b9c1d145af312c6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b537908f2b2a0dd8bf02398c7a1a6c21c438ce75fd06d2810655925cfeef978786765012c124bcdb4efa15e93c29f779dbcc44cc0ec4e88a9ae16d1b30d04b9
|
7
|
+
data.tar.gz: 5682ca8fde01317c4480373c635c2c4414809f70d419e56ed11a93837567d91056d03bb5fbce2a2083eba434ccc891aec7074d86f38894be10c5182f120a92aa
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Add this line to your application's Gemfile:
|
6
6
|
|
7
|
-
gem 'tfg_support'
|
7
|
+
gem 'tfg_support'
|
8
8
|
|
9
9
|
And then execute:
|
10
10
|
|
@@ -28,8 +28,9 @@ with
|
|
28
28
|
|
29
29
|
value = hash.deep[:foo, :bar, :baz]
|
30
30
|
|
31
|
-
also works for setting
|
31
|
+
also works for setting. New hashes will be created for missing keys.
|
32
32
|
|
33
|
+
hash = {:foo=>{:bar=>{:baz=>:fizz}}}
|
33
34
|
hash.deep[:foo, :bar, :baz] = :frob
|
34
35
|
hash.deep[:foo, :missing_key, :baz] = :frob
|
35
36
|
|
data/lib/tfg_support/version.rb
CHANGED