Project

General

Profile

Actions

Bug #14461

closed

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

Added by f3ndot (Justin Bull) over 6 years ago. Updated over 6 years ago.

Status:
Rejected
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


Files

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

Updated by f3ndot (Justin Bull) over 6 years 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.

Updated by nobu (Nobuyoshi Nakada) over 6 years ago

  • Status changed from Open to Rejected

You see wrong place.
alphanumeric is a method defined in Random::Formatter.

Actions

Also available in: Atom PDF

Like0
Like0Like0