From: Thomas Wieczorek Date: 2008-01-29T07:18:04+09:00 Subject: Re: Line breaks in YAML On Jan 28, 2008 10:59 PM, Keith Carter wrote: > Shameless bumb. Stuck at work. > I've tried this in irb: require 'yaml' foo = "foo\nbar\nbaz" y = YAML::dump(foo) #=> "--- |-\nfoo\nbar\nbaz\n" foz = YAML::load(y) foo == foz #=> true Not sure if that's what you meant.