From: James Britt Date: 2008-05-22T04:42:20+09:00 Subject: Re: to_yaml method for array > > I go to http://www.ruby-doc.org/core/ and look for Array methods. I see > to_yaml. So why in the irb I am getting undefined method to_yaml? rdoc, run over the ruby source, is dopey in that it parses the yaml files, sees that they modify core Ruby objects, then generates rdoc that presents those core objects as if they had yaml methods built-in. In actual practice, you have to explicitly mix-in yaml to get that behavior. -- James Britt http://www.rubyaz.org - Hacking in the Desert http://www.jamesbritt.com - Playing with Better Toys