RDoc duplicate methods

T

trans. (T. Onoma)

I'm getting duplicate entries for methods using RDoc. Anyone know why that
might happen?

Thanks,
T.
 
D

David Ross

trans. (T. Onoma) said:
I'm getting duplicate entries for methods using RDoc. Anyone know why that
might happen?

Thanks,
T.
Which Ruby, which entries? I've not seen any quirks like you describe.

David Ross
 
H

Hal Fulton

trans. (T. Onoma) said:
I'm getting duplicate entries for methods using RDoc. Anyone know why that
might happen?

No, I haven't seen that. Can you diagnose further? Do the dups have anything
in common?


Hal
 
T

trans. (T. Onoma)

| > I'm getting duplicate entries for methods using RDoc. Anyone know why
| > that might happen?
|
| No, I haven't seen that. Can you diagnose further? Do the dups have
| anything in common?

Hi --

So far, I've only determined that RDoc is processing some files twice. I'm not
sure what they have in common yet though. Let you know.

Thanks,
T.
 
T

trans. (T. Onoma)

Okay I figured it out. It's related to the problem I reported before --I have
a number of files with odd file names that include characters like /[=?&<>]/.
I'm using the rake component to generate the rdocs, but it doesn't
quote-escape the file names when it generates the rdoc command. So it does
weird things. I had to do this for now and remove the offending files.

RDOC_INCLUDE = [ 'README', 'VERSION', 'CHANGELOG', 'TODO',
'COPYING', 'lib/raspberry/atom/**/*.rb' ]
RDOC_EXCLUDE = [ 'lib/raspberry/atom/*.rb',
'lib/raspberry/atom/**/*\=*.rb',
'lib/raspberry/atom/**/*\?*.rb',
'lib/raspberry/atom/**/*\&*',
'lib/raspberry/atom/**/*\<*.rb',
'lib/raspberry/atom/**/*\>*.rb'
]

I need a real fix though.

T.
 
D

dross

trans. (T. Onoma) said:
| > I'm getting duplicate entries for methods using RDoc. Anyone know why
| > that might happen?
|
| No, I haven't seen that. Can you diagnose further? Do the dups have
| anything in common?

Hi --

So far, I've only determined that RDoc is processing some files twice. I'm not
sure what they have in common yet though. Let you know.

Thanks,
T.
Just curious, whats the version of your Ruby -v? Is this base base
documentation, or 3rd party modules?


David Ross
 
D

dross

trans. (T. Onoma) said:
Okay I figured it out. It's related to the problem I reported before --I have
a number of files with odd file names that include characters like /[=?&<>]/.
I'm using the rake component to generate the rdocs, but it doesn't
quote-escape the file names when it generates the rdoc command. So it does
weird things. I had to do this for now and remove the offending files.

RDOC_INCLUDE = [ 'README', 'VERSION', 'CHANGELOG', 'TODO',
'COPYING', 'lib/raspberry/atom/**/*.rb' ]
RDOC_EXCLUDE = [ 'lib/raspberry/atom/*.rb',
'lib/raspberry/atom/**/*\=*.rb',
'lib/raspberry/atom/**/*\?*.rb',
'lib/raspberry/atom/**/*\&*',
'lib/raspberry/atom/**/*\<*.rb',
'lib/raspberry/atom/**/*\>*.rb'
]

I need a real fix though.

T.
oh, so there really is a problem with every rdoc out there. heh...
Someone rather needs to make it rad the files, or ignore the files.

David Ross
 
D

Dave Thomas

I'm getting duplicate entries for methods using RDoc. Anyone know why
that
might happen?

Perhaps you have an older RDoc, and you have the documentation
installed twice?

Dave
 
D

Dave Thomas

Okay I figured it out. It's related to the problem I reported before
--I have a number of files with odd file names that include
characters like /[=?&<>]/. I'm using the rake component to generate
the rdocs, but it doesn't quote-escape the file names when it
generates the rdoc command. So it does weird things. I had to do this
for now and remove the offending files.
oh, so there really is a problem with every rdoc out there. heh...
Someone rather needs to make it rad the files, or ignore the files.

No, it's a problem with Rake, as the poster indicated.

Cheers

Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,160
Messages
2,570,889
Members
47,422
Latest member
LatashiaZc

Latest Threads

Top