Issue #15819 has been updated by jeremyevans0 (Jeremy Evans).

Status changed from Open to Closed

`ri` doesn't show documentation on all constants, only classes and modules.  So it is expected that `ri File::NULL` will not work, just as `ri Date::ITALY` and `ri Integer::GMP_VERSION` don't work.

There is a bug here, and that is that `File::Constants` was documented under `File::File::Constants`.  I've traced this to a typo in rdoc, which I've submitted a pull request to fix: https://github.com/ruby/rdoc/pull/774

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

* Author: tad (Tadashi Saito)
* Status: Closed
* Priority: Normal
* 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>