From: Steve Hull
Date: 2009-06-02T11:01:30+09:00
Subject: Re: Ruby enhancement suggestion
Joel VanderWerf wrote:
> p h.map{|pair| pair.join("=>")}.join(",")
That is indeed nice and compact. Thanks Joel!! That'll do quite nicely
for my needs. :)
Daniel Berger wrote:
> require 'pp'
> pp hash
Thanks Dan! That's a cool feature, but not really what I'm looking for
in the hash.join idea. It is indeed something I'll be using in the
future though. :)
--
Posted via http://www.ruby-forum.com/.