Issue #5505 has been updated by Nobuyoshi Nakada.


Try Kernel.__send__(:extend_object, BasicObject.new)
----------------------------------------
Feature #5505: BasicObject#__extend__
http://redmine.ruby-lang.org/issues/5505

Author: Thomas Sawyer
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 1.9.x


Unless there is already some way to do it that I've overlooked, the it would be nice if there were still some way to extend an instance of BasicObject.

Probably the easiest way is defining #__extend__.



-- 
http://redmine.ruby-lang.org