Re: [MacRuby-devel] Objects instantiated as anonymous class by Bindings mechanism
as workaround i can create the hash via NSMutableDictionary.dictionary or in my case : temp = YAML::load( NSString.alloc.initWithData( fileWrapper.regularFileContents, encoding:NSString.defaultCStringEncoding)) @data = NSMutableDictionary.dictionary @data.setDictionary(temp) is a bug or a behaviour that i do not understand? Ciao
Hi, It looks like a bug indeed. Could you file a ticket on trac? We will get this corrected in 0.7. Thanks! Laurent On Jun 17, 2010, at 1:46 PM, Wladj wrote:
as workaround i can create the hash via NSMutableDictionary.dictionary or in my case :
temp = YAML::load( NSString.alloc.initWithData( fileWrapper.regularFileContents, encoding:NSString.defaultCStringEncoding)) @data = NSMutableDictionary.dictionary @data.setDictionary(temp)
is a bug or a behaviour that i do not understand? Ciao _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
participants (2)
-
Laurent Sansonetti
-
Wladj