Re: [MacRuby-devel] re-implemention of attr_accessor and valueForKey:

2011-03-11 Thread kyossi
Hi, Thanks for ticket and simplify the code. For a while I'll use class_eval to define a method which require KVC compliant. 2011/3/11 Thibault Martin-Lagardette : > Hi, > After fiddling a little bit with the code, I could not find the exact issue, > but could reduce the code a lot. > For the sa

Re: [MacRuby-devel] re-implemention of attr_accessor and valueForKey:

2011-03-10 Thread Thibault Martin-Lagardette
Hi, After fiddling a little bit with the code, I could not find the exact issue, but could reduce the code a lot. For the sake of it, I opened a Trac ticket with the reduced code: https://www.macruby.org/trac/ticket/1188 Cheers, -- Thibault Martin-Lagardette On Thursday, March 10, 2011 at 13:

[MacRuby-devel] re-implemention of attr_accessor and valueForKey:

2011-03-10 Thread kyossi
Hi, I'm plan to add some functionality to existing attr_accessor. I've started with re-implement attr_accessor with same functionality, but when I implement it by define_method, it failed with Segmentation fault when I call valueForKey(:key). Am i doing wrong with class Base2??, The Code is #u