I was perusing thru the Rails source code in the ActiveSupport component and ran across this gem
The interesting part for me was the singleton_class method. What a nice handy tool to put in the tool box.