I would like to dynamically specify the parent class for a class in Ruby. Consider this code:
class Agent def self.hook_up(calling_class, desired_parent_c
Joshua has already given you a great list of alternatives, but to answer your question: You can't change the superclass of a class after the class has been created in ruby. That's simply not possible.