Project

General

Profile

Actions

Bug #1318

closed

Ri documentation missing for BasicObject methods instance_eval, method_missing, __send__

Added by b_jonas (Ambrus Zsbán) over 15 years ago. Updated over 13 years ago.

Status:
Closed
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

Actions #1

Updated by yugui (Yuki Sonoda) over 15 years ago

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

=begin

=end

Actions #2

Updated by mame (Yusuke Endoh) over 14 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
=end

Actions #3

Updated by drbrain (Eric Hodel) over 14 years ago

  • Status changed from Open to Closed

=begin
Patch applied. Thank you.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0