dot_notation 1.0.0
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: 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