From: Phillip Gawlowski Date: 2010-11-01T20:35:12+09:00 Subject: Re: data::dumper for ruby? On Mon, Nov 1, 2010 at 6:54 AM, wroxdb wrote: > how to dump a complicated data structure with ruby? > > I wrote: > > p data > > or: > > puts data.inspect > > They didn't work nice. Alternatively to YAML, JSON (in Ruby 1.9: require "json"; data.to_json) could work, too. -- Phillip Gawlowski Though the folk I have met, (Ah, how soon!) they forget When I've moved on to some other place, There may be one or two, When I've played and passed through, Who'll remember my song or my face.