Project

General

Profile

Bug #1318

Ri documentation missing for BasicObject methods instance_eval, method_missing, __send__

Added by b_jonas (Ambrus Zsbán) about 11 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
ruby 1.9.1p0 (2009-01-30 revision 21907) [x86_64-linux]
Backport:
[ruby-core:23037]

Description

=begin
It seems that ri does not find the documentation for three instance methods of BasicObject, namely instance_eval, method_missing, and send. All three of these seem to have a documentation in the vm_eval.c source file, but this is somehow not built to the ri documentation.

This is using ruby-1.9.1-p0 built from source on an amd64 linux debian system. (The online docs at "http://www.ruby-doc.org/core-1.9/index.html" are also missing these methods.)

Thanks in advance,

Ambrus
=end

#1

Updated by yugui (Yuki Sonoda) almost 11 years ago

  • Assignee set to yugui (Yuki Sonoda)
  • Target version changed from 1.9.1 to 1.9.2

=begin

=end

#2

Updated by mame (Yusuke Endoh) about 10 years ago

  • Category changed from doc to lib
  • Assignee changed from yugui (Yuki Sonoda) to drbrain (Eric Hodel)

=begin
Hi, Eric

How about adding BasicObject to known classes?

diff --git a/lib/rdoc/known_classes.rb b/lib/rdoc/known_classes.rb
index dbb1802..3e63ab0 100644
--- a/lib/rdoc/known_classes.rb
+++ b/lib/rdoc/known_classes.rb
@@ -6,6 +6,7 @@ module RDoc
KNOWN_CLASSES = {
"rb_cArray" => "Array",
"rb_cBignum" => "Bignum",

  • "rb_cBasicObject" => "BasicObject", "rb_cClass" => "Class", "rb_cData" => "Data", "rb_cDir" => "Dir",

--
Yusuke Endoh mame@tsg.ne.jp
=end

#3

Updated by drbrain (Eric Hodel) about 10 years ago

  • Status changed from Open to Closed

=begin
Patch applied. Thank you.
=end

Also available in: Atom PDF