From: Gavin Sinclair Date: 2003-12-02T06:29:44+09:00 Subject: Re: rdoc included in standard distribution? On Tuesday, December 2, 2003, 1:48:44 AM, Dave wrote: > Gavin: > The actual sequence of calls is > require 'rdoc/rdoc' > rdoc = RDoc::RDoc.new > rdoc.document(args) Do you see any sense in allowing this? rdoc = RDoc::RDoc.new do |r| r.template = 'css2' r.title = 'FooBar API' r.main = "README" r.output_dir = "/tmp/html" ... end Perhaps in combination with the argument-passing ability. This means of initialising data-heavy objects is great, I find. Better than keyword arguments, because you can look up the attributes in the RDoc output. > And you can now do this in the CVS version of Ruby. Cool. What does this mean for rdoc.sourceforge.net? Gavin