kimura wataru
kimur****@i*****
Tue Jun 5 23:06:44 JST 2007
Sorry, the previous mail is a draft. RubyCocoa add a subclass of a Cocoa class with the class object and its name in OSX.objc_derived_class_new. I think to separate the procedure into two steps(*) enables to handle unnamed classes. * (1) add a class object into ObjC runtime (2) bind the class name and the class object I'll try to make a patch. On Tue, 5 Jun 2007 22:49:52 +0900, kimura wataru wrote: > Hi, > > On Tue, 5 Jun 2007 11:17:02 +0200, Eloy Duran wrote: >> Hello guys, >> >> In revision 1816 I added the code to dynamically define a class when a >> ActiveRecord::Base subclass is defined. >> However at the moment the only way I could get this to work is by >> using old evil eval, but I would rather define it with >> Object.const_set(). >> If I use Object.const_set() I get the following error: >>