#3 new

Fix Classist to work with Class.new

Reported by elliottcable | April 6th, 2008 @ 04:12 AM | in Stable API for System devs

The problem seems to be that when one uses Class.new, the class does not yet have a #name. Until the new class is assigned to a constant, it is nameless - and thus our attempt to grab the new class's name and split it into ancestors fails. I don't want to lock the system authors out like this, they may have need of Class.new, as opposed to class Foo; end, for meta-programmatical purposes.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket