Issue #15819 has been updated by tad (Tadashi Saito).

ruby -v set to ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux]
Subject changed from cannot read document of File::NULL with ri File::NULL to cannot read document of File::NULL with "ri File::NULL"

When I type `ri File::NULL`, got

> Nothing known about File::NULL
> Did you mean?  File::Stat

but

* `ruby -e 'p File::NULL'` prints `"/dev/null"` succesfully
* Documents are already written in #7365
* I could read it with `ri File::File::Constants`
   * Note that `File::` needs twice like https://docs.ruby-lang.org/en/trunk/File/File/Constants.html

IHMO, it's too difficult to guess proper command.

I did not know if this was a markup mistake or a logic bug in RDoc, so I registered here for the time being.

----------------------------------------
Bug #15819: cannot read document of File::NULL with "ri File::NULL"
https://bugs.ruby-lang.org/issues/15819#change-77892

* Author: tad (Tadashi Saito)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux]
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>