ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: tad.a.digger@gmail.com
To: ruby-core@ruby-lang.org
Subject: [ruby-core:92532] [Ruby trunk Bug#15819] cannot read document of File::NULL with "ri File::NULL"
Date: Fri, 03 May 2019 04:58:53 +0000 (UTC)	[thread overview]
Message-ID: <redmine.journal-77892.20190503045853.6d04a852e8a9e188@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-15819.20190503045006@ruby-lang.org

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/

  parent reply	other threads:[~2019-05-03  4:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <redmine.issue-15819.20190503045006@ruby-lang.org>
2019-05-03  4:50 ` [ruby-core:92531] [Ruby trunk Bug#15819] cannot read document of File::NULL with ri File::NULL tad.a.digger
2019-05-03  4:58 ` tad.a.digger [this message]
2019-05-03  9:04 ` [ruby-core:92533] [Ruby trunk Bug#15819] cannot read document of File::NULL with "ri File::NULL" shevegen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.journal-77892.20190503045853.6d04a852e8a9e188@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).