From: Patrick Doyle Date: 2008-11-25T02:51:50+09:00 Subject: Re: what's wrong with this method ------=_Part_61586_3625424.1227549379037 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline What is the "to_out" method supposed to do? Is it supposed to return a string, or print stuff to stdout? The first line of code creates a string filled all sorts of interesting information about your object (username, name, sex, ...). The second line calls #puts some number of times depending on how many elements are in the @friends hash. --wpd On Mon, Nov 24, 2008 at 12:40 PM, equinox wrote: > can someone tell me what's wrong with this method?? > > http://pastie.org/322677 > > after that FRIENDS I print I want to iterate over the hash that I have > and print the key, value of each separated by a "/" > > ------=_Part_61586_3625424.1227549379037--