Simple-ish enumberable-simplifier. Useful for APIs like Twitter, etc If you have a hash or an array or something that quacks like one, you can do stuff example: require 'dot_notation' h = {a: {b: {c: [{d: 'hi'}]}}} h.extend(DotNotation) h.dot('a.b.c.0.d') #=> 'hi' h.dot('a.b.c.foo.bar.bz.whatever.124.whocares') #=> nil
Required Ruby Version
>= 0
Authors
Joshua Szmajda
Versions
-
1.0.1
-
source
- 1.0.1 source August 18, 2014 (7 KB)
-
-
1.0.0
-
source
- 1.0.0 source August 18, 2014 (7 KB)
-