From: Rimantas Liubertas Date: 2007-01-09T06:38:29+09:00 Subject: Re: incorrect yaml? > Here's a simple yaml output from the Ruby to_yaml method: > sample = { 'foo' => %w[ a b c ] } > puts sample.to_yaml > => $ irb irb(main):001:0> require 'yaml' => true irb(main):002:0> sample = {'foo' => %w[a b c]} => {"foo"=>["a", "b", "c"]} irb(main):003:0> puts sample.to_yaml --- foo: - a - b - c => nil irb(main):004:0> sample.to_yaml => "--- \nfoo: \n- a\n- b\n- c\n" Regards, Rimantas -- http://rimantas.com/