From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-3.0 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 713C01F453 for ; Fri, 3 May 2019 09:04:47 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 5AF5D120925; Fri, 3 May 2019 18:04:40 +0900 (JST) Received: from o1678948x4.outbound-mail.sendgrid.net (o1678948x4.outbound-mail.sendgrid.net [167.89.48.4]) by neon.ruby-lang.org (Postfix) with ESMTPS id C7186120971 for ; Fri, 3 May 2019 18:04:37 +0900 (JST) Received: by filter0032p3iad2.sendgrid.net with SMTP id filter0032p3iad2-23742-5CCC0425-19 2019-05-03 09:04:37.639190133 +0000 UTC m=+49138.369225389 Received: from herokuapp.com (unknown [3.89.148.76]) by ismtpd0065p1mdw1.sendgrid.net (SG) with ESMTP id MV9DiStsT8KwBK0dqsMCtQ for ; Fri, 03 May 2019 09:04:37.468 +0000 (UTC) Date: Fri, 03 May 2019 09:04:37 +0000 (UTC) From: shevegen@gmail.com Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 68016 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 15819 X-Redmine-Issue-Author: tad X-Redmine-Sender: shevegen X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: =?us-ascii?Q?6lbdtOg4RDRLuxD00eQtQKgoNAsge5d4xND7cbMQd0zHnCrBhKfbG=2FxxB6S3Wc?= =?us-ascii?Q?ScPpPXEsUUqqw6Fi8hl6e=2FOGeWo7GmhmVLwJGTa?= =?us-ascii?Q?Lz2L1qWBjbw7GexlPUQguRRRccNYRNd5f9vjaYi?= =?us-ascii?Q?Bz2MK48SP=2FFoa3+UwWUnvJ8925hBx6IQWzkFa2W?= =?us-ascii?Q?7d2=2F5H9lAyiN6Sh2Ptuhk3BEruic1WHg00A=3D=3D?= To: ruby-core@ruby-lang.org X-ML-Name: ruby-core X-Mail-Count: 92533 Subject: [ruby-core:92533] [Ruby trunk Bug#15819] cannot read document of File::NULL with "ri File::NULL" X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #15819 has been updated by shevegen (Robert A. Heiler). > IHMO, it's too difficult to guess proper command. Agree - File::NULL works in e. g. irb too and should work for ri. I found rdoc/ri a bit cumbersome to use API-wise; in one project, that displays rdoc documentation for methods (a bit similar as what pry does), I use code such as this: hash = RDoc::RI::Driver.process_args(arguments) rdoc_driver = RDoc::RI::Driver.new(hash) To process stuff. if it were up to me I would try to enhance rdoc in general to be more "friendly" (simpler) API-wise to use for downstream ruby users in general, but I digress from your issue, sorry. ---------------------------------------- Bug #15819: cannot read document of File::NULL with "ri File::NULL" https://bugs.ruby-lang.org/issues/15819#change-77893 * 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/