Project

General

Profile

Bug #14461

Public SecureRandom.alphanumeric method does not appear in rdoc generated documentation

Added by f3ndot (Justin Bull) 8 days ago. Updated 7 days ago.

Status:
Open
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:85492]

Description

The private def keywords for methods above the SecureRandom.alphanumeric definition (method via #10849) appear to have caused rdoc generation to not output anything for the method.

See http://ruby-doc.org/stdlib-2.5.0/libdoc/securerandom/rdoc/SecureRandom.html for evidence of it being absent from rdoc generated documentation.

Speaking with one of the ruby-doc maintainers, he was the one who suggested this was the root cause of the missing entry.

This issue & patch is also reflected on GitHub: https://github.com/ruby/ruby/pull/1814

rearrange_alphanumeric.patch (2.39 KB) rearrange_alphanumeric.patch Re-arrangement of source code to fix rdoc problem f3ndot (Justin Bull), 02/10/2018 07:43 PM

History

#1 [ruby-core:85494] Updated by f3ndot (Justin Bull) 7 days ago

Apologies, this looks like a bug in rdoc that was resolved late 2017:

https://github.com/ruby/rdoc/pull/435

I've confirmed I can see .alphanumeric method in my own local rdoc (v6.0.1) output. Informed the maintainers of http://ruby-doc.org/ and they're checking their pipeline.

Also available in: Atom PDF