Aug. 12, 2011
3:51 p.m.
On 12 Aug 2011, at 17:12, Stéphane Ducasse wrote:
Hi veronica
How do I create a RGMethodDefinition for a SmalltalkClass
I used class:selector: but this is wrong because for example for a class
RGMethodDefinition class: Point class selector: #new
but then I get error when querying className that 'Point class' is not in the SystemDictionary or something like that.
indeed that only works for ring classes.. The other option is using the factory RGFactory current createMethodNamed: aSymbol realParent: aClass
I suggest to add a creation method for realClass: selector:
what do you think?
it will be handy for tools ( so far i did not need it) gonna add it
Stef