Re: yaml last update

From: why the lucky stiff <ruby-core@...>
Date: 2004-05-16 15:31:38 UTC
List: ruby-core #2882
Kent S. wrote:

> Another problem:
> 
> irb(main):010:0> YAML.load(a.to_yaml)
> ArgumentError: parse error on line 6, col -1: `'
>         from /usr/local/lib/ruby/1.9/yaml.rb:30:in `load'
>         from /usr/local/lib/ruby/1.9/yaml.rb:30:in `load'
>         from (irb):10
> irb(main):011:0> a.to_yaml
> => "--- !ruby/object:A \ntext: >\nline 1\n\nline 2\n\n"

Thankyou.  This is repaired.  I'm restructuring the flow of multiline 
text blocks at the moment, so you may see some trouble here of late.

_why


In This Thread