> If I understand what you're after, you want to define an instance method > in a named class. Actually, what I want to be able to do is something like ... def add_method(name) class << self eval %{ def #{name}() puts "Hello from #{name}" end end end class Harry def_method("hello") def_method("world") end and then be able to do ... h = Harry.new h.hello() h.world() and have it work correctly. However, when I do that, I get errors saying that hello is an undefined method for Harry.