Steve Tuckner
11/24/2003 7:30:00 PM
Oops my bad.
So it is not necessary to run it twice to see this behavior. New output:
Creating new file
y = a
y2 = Hash
Steve Tuckner
> -----Original Message-----
> From: T. Onoma [mailto:transami@runbox.com]
> Sent: Monday, November 24, 2003 11:38 AM
> To: ruby-talk ML
> Subject: Re: YAML self reference issue
>
>
> On Monday 24 November 2003 05:40 pm, Steve Tuckner wrote:
> > y = YamlTest.load
> > puts "y = #{y.a.class}"
> > y.save
> > y2 = YamlTest.load
> > puts "y2 = #{y.a.class}"
>
> First of all is the last line supposed to be:
>
> puts "y2 = #{y2.a.class}"
>
> -t0
>