From: "trans (Thomas Sawyer)" Date: 2012-05-23T00:12:31+09:00 Subject: [ruby-core:45183] [ruby-trunk - Feature #6478] BasicObject#__class__ Issue #6478 has been updated by trans (Thomas Sawyer). Sorry, I'll be more specific via example: class Foo < BasicObject end foo = Foo.new foo.class #=> raises NoMethodError How to get class? I suggest adding #__class__ feature if there is no current means. ---------------------------------------- Feature #6478: BasicObject#__class__ https://bugs.ruby-lang.org/issues/6478#change-26763 Author: trans (Thomas Sawyer) Status: Feedback Priority: Normal Assignee: Category: core Target version: 1.9.3 How else is one supposed to get the class of a subclass of BasicObject? -- http://bugs.ruby-lang.org/