sorry my correct code is here

user_name@host:~$irb
irb(main):001:0> h={'k1'=>'v1','k2'=>'v2','k3'=>'v3'}
=> {"k1"=>"v1", "k2"=>"v2", "k3"=>"v3"}   ---->i want as a string object 
irb(main):004:0> h.to_s
k1v1k2v2k3v3                              ---->i don't want
irb(main):005:0>

is there any library in ruby to get this?
-- 
Posted via http://www.ruby-forum.com/.