From: James Britt Date: 2008-05-22T12:13:49+09:00 Subject: Re: to_yaml method for array Stefano Crocco wrote: > Actually, you don't need to mix-in yaml. When you require yaml.rb, it will add > the generic to_yaml method to the Object class itself (or to the Kernel > module, I'm not sure) and the more specialized methods to those classes for > which they exist (such as Array, String and Hash). There's no mixing-in > involved, as far as I can tell. Yes, you are quite right. -- James Britt http://www.rubyaz.org - Hacking in the Desert http://www.jamesbritt.com - Playing with Better Toys