Project

General

Profile

Actions

Bug #1186

closed

:method_missing not shown as an instance_method of BasicObject

Added by RobertDober (Robert Dober) about 15 years ago. Updated almost 13 years ago.

Status:
Rejected
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]
#<UnboundMethod: BasicObject#method_missing>

... 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

Actions #1

Updated by godfat (Lin Jen-Shin) about 15 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

Actions #2

Updated by shyouhei (Shyouhei Urabe) about 15 years ago

  • Status changed from Open to Rejected

=begin

=end

Actions

Also available in: Atom PDF

Like0
Like0Like0