Another RDoc niggle

Hi Dave,

RDoc doesn’t produce any class/method documentation when fed ftools.rb.

This file is of the following form:

class << File

end

RDoc now knows about “class << File”, but it needs to be enclosed,
right? Let me just wrap a “class File … end” and see if it works.

And yes it does. Anyway, something to think about.

Gavin

Gavin Sinclair wrote:

Hi Dave,

RDoc doesn’t produce any class/method documentation when fed ftools.rb.

This file is of the following form:

class << File

end

RDoc now knows about “class << File”, but it needs to be enclosed,
right? Let me just wrap a “class File … end” and see if it works.

And yes it does. Anyway, something to think about.

There’s nothing meaningful I can do here (at least until I support
incremental documentation). At the point it encounters << File, RDoc has
no knowledge of a class called File. I could synthesize one, but what
should its file name and super class be?

Dave