Bug #19914
closed
RDoc :method: directives swallowed by immediate private keyword
Added by zzak (zzak _) over 1 year ago.
Updated over 1 year ago.
Description
@jonathanhefner Recently discovered this bug in RDoc and fixed it in Rails, so I'm reporting it here on their behalf.
Examples:
zzak (zzak _) wrote:
@jonathanhefner Recently discovered this bug in RDoc and fixed it in Rails, so I'm reporting it here on their behalf.
Examples:
This should probably be reported to https://github.com/ruby/rdoc/issues instead.
With a simplified example like bellow, private
does not affect the results.
class Bug19914
##
# :method: foo
#
# :call-seq: foo(*args)
#
# Foo
private
end
It appears that the next method takes precedence over the :method:
directive.
And that directive seems like parsed as a simple document.
- Status changed from Open to Feedback
Also available in: Atom
PDF
Like0
Like0Like0Like0Like0