extension

Ruby Class extended for subclasses, remove_subclasses, remove_current_class, parts, class_exists

Here is a Class.rb extension that will make several enhancements to the already existing Class standard featureset available in ruby. This is provided for sharing here on Ruby on Rails Blog by Kirk Haines (wyhaines) and he is creditted with its creation. We hope it is of use to some of you (facets may have something similar by the way).