On Nov 24, 10:52 ¨Âí¬ ÌåÇòéææéôè¼ðïääó®®®Àçíáéì®ãïí¾ ÷òïôåº
> 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 "/"
>
> You have a syntax error, for a start. Is this the problem you mean?
>
> @friends.each do {|key, value| puts("#{key}/#{value} ,") }
>
> It's EITHER { } OR do...end. Not both (or half of one)! :)
> --
> Posted viahttp://www.ruby-forum.com/.

I just want it to return a string.. and for the second line I want to
get the string from the key value pair in the hash