Sign in Sign up
rubygems

dot_notation

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

Activity

Latest release
12y ago
Total releases
2
Cadence
~daily
Last 12 months
0

Details

License
MIT
First release
Aug 18, 2014
Releases
Version Released
1.0.0 initial
1.0.1 patch