From: Benoit Daloze Date: 2011-11-01T20:11:44+09:00 Subject: [ruby-core:40618] Re: [ruby-trunk - Feature #5531][Open] deep_value for dealing with nested hashes On 1 November 2011 01:26, SASADA Koichi wrote: > (2011/11/01 8:52), Kyle Peyton wrote: >> Example: >> >>> foo = {:bar => {:baz => 'blah'}} >>> foo.dv(:bar, :baz) >> -> 'blah' >>> foo.dv(:cats) >> -> nil > > Just idea. > How about to extend Hash#[] for it? > > -- > // SASADA Koichi at atdot dot net That would be nice.