From: 7stud -- Date: 2012-09-18T05:34:04+09:00 Subject: Re: Breaking Down the Block incag neato wrote in post #1076331: > > When I call "top_count = nums_with_frequs[0][1]" am I referring to the > first key and value in the sorted hash "freq_for" (i.e. the var > "nums_with_frequs")? > > I've played around with it but I don't see how to use "b == 3" to arrive > at the tied values. > In my example: nums_with_frequs = [[30,2]] ...which you could have easily determined yourself by printing it out. -- Posted via http://www.ruby-forum.com/.