Project

General

Profile

Bug #1186

:method_missing not shown as an instance_method of BasicObject

Added by RobertDober (Robert Dober) about 11 years ago. Updated almost 9 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
ruby -v:
ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux]
Backport:
[ruby-core:22299]

Description

=begin
Although BasicObject seems to implement :method_missing...


514/15 > ruby -v -e 'p BasicObject.instance_method( :method_missing )'
ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux]
#


... it is somehow hidden :(


517/18 > ruby -v -e 'p BasicObject.instance_methods'
ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux]
[:==, :equal?, :!, :!=, :instance_eval, :instance_exec, :send]


=end

#1

Updated by godfat (Lin Jen-Shin) about 11 years ago

=begin
It's private.

ruby1.9 -v -e 'p BasicObject.private_instance_methods'
ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-darwin9]
[:initialize, :singleton_method_added, :singleton_method_removed, :singleton_method_undefined, :method_missing]
=end

#2

Updated by shyouhei (Shyouhei Urabe) about 11 years ago

  • Status changed from Open to Rejected

=begin

=end

Also available in: Atom PDF