Hi.

>>This patch seems to be working. But I'm not familier with yaml, so can anyone
>>test this? (I found another problem on Numeric. Rational and Complex are not
>>treated properly)
>
>Sorry, patch was broken. Try again...

>http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/6159 (Proposed 
>patch)

>> It is a bug of Ruby 1.8.3.  I think that YAML should be able to load
>> "!ruby/object:Bignum 1234567890".

I have committed these patches.

I thought we could forget !ruby/object:Bignum syntax
because it is not compatible with 1.8.2, and cannot be loaded in 1.8.3/1.8.4,
(This means any version cannot load that syntax)

But maybe... there is the case person A using 1.8.3 sends yaml to person B
using other version? If this is not needed, please tell me. I'll revert it.

>mathew <meta pobox.com>

>Ideally YAML would have the equivalent of both _dump & _load from 
>Marshal. BigDecimal already supports Marshal.

I had an idea to use Marshal in yaml.

  --- !ruby/marshal \004\010u:\017BigDecimal\r8:0.12E1

But probably this is not good idea. If object written in C holds object
written in ruby? They should be encoded in yaml. Hmm...