From: 7stud -- Date: 2011-03-07T06:21:06+09:00 Subject: Re: How to get class of BasicObject ancestor (Ruby 1.9.2)? ...or even simpler: just open up BasicObject and monkeypatch a class method called class(untested): class BasicObject def self.class self end end Then have at it. -- Posted via http://www.ruby-forum.com/.