On Jan 28, 2008 2:39 PM, Keith Carter <kmarplecarter / yahoo.com> wrote:
> Thomas Wieczorek wrote:
> > Not sure if that's what you meant.
>
> No, that's not quite it.

I think what Thomas was meaning to point out is that you probably want
to use Yaml's block syntax:

http://yaml4r.sourceforge.net/cookbook/#single_ending_newline

> For example, my yml file-
>
> source_id:
>   a=2
>   b=2
>   if (a==b)
>     c=3
>   end
>

yml.sub(/source_id:/, "source_id: |")

Judson
-- 
Your subnet is currently 169.254.0.0/16.  You are likely to be eaten by a grue.