From: Eric Hodel Date: 2008-01-17T07:11:15+09:00 Subject: Re: how to "borrow" the RDoc::RubyParser and HTMLGenerator On Jan 15, 2008, at 18:19 PM, Phlip wrote: > Eric Hodel wrote: > >> If you're writing the patches, I'll apply them. > > Here ya go! > > assert_xml method.source_code > assert_xpath(:"span[ '#{ klass }' = @class #{ text } ]") > deny_xpath(:"span[ '#{ klass }' = @class #{ text } ]") If these are in the ruby core, fine. If this requires external dependencies I can't integrate the tests. > That's not productized for RDoc yet. Say the word, and I'll add a > test folder to lib/rdoc, port stuff in there, and send you that. There already is a test folder for RDoc.