[EMAIL PROTECTED] wrote:
Sadly, I don't think Syck provides a way to force | or I would prefer that 
option.  But I could be wrong.  _why?
You can override the String class, preferrably in singleton classes.

 $ irb -r yaml
 >> ary = ['normal', '"quoted"', 'force literal']
 >> class << ary[2]
 >>   def to_yaml_fold; '|'; end
 >> end
 >> y ary
 ---
 - normal
 - "\"quoted\""
 - |
   force literal

_why
_______________________________________________
Hobix-is-the-way mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/hobix-is-the-way

Reply via email to