From: 7stud -- Date: 2009-07-23T10:19:54+09:00 Subject: Re: why I get an empty hash? 7stud -- wrote: > > So you see, the result is the same. It doesn't matter what you do to > the hash returned by the recursive method calls because you don't do > anyting with the returned hash, so ruby discards it. > Your question is like asking why the result of calling this method: def meth h = {} {"AA" => 0} return h end p meth is an empty hash. -- Posted via http://www.ruby-forum.com/.