From: Dave Thomas Date: 2001-12-17T22:57:30+09:00 Subject: [ruby-talk:28764] Re: RDoc - Document Ruby source files Alexander Bokovoy writes: > However, I would like to see support for dynamically generated classes > like this one: > .. code snipped > > Which produces set of nested modules and class definition stubs according > to content of $MidgardObjects hash. Currently rdoc does not understand > this while this technique is quite useful in Ruby. > > Does anybody have ideas how we could improve rdoc for this? In the limit case, we could have puts "Enter name for new class" name = gets.chomp eval %{ class #{name}; .... } I'm not sure that there's a general way of dealing with this. Dave