Project

General

Profile

Actions

Bug #1186

closed

:method_missing not shown as an instance_method of BasicObject

Added by RobertDober (Robert Dober) almost 16 years ago. Updated over 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

Also available in: Atom PDF

Like0
Like0Like0