March 8, 2013
9:32 p.m.
On Mar 8, 2013, at 7:57 PM, Ciprian Teodorov <ciprian.teodorov@gmail.com> wrote:
Hi guys,
Can anyone give me some pointers on how to create traits dynamically?
you mean with the refactoring engine? I know that one argentinian student added support for traits in RB but I never got the time to have a look and integrate it.
I have tried something like:
model := RBNamespace new.
model defineClass: ('Trait named: #TMyTrait uses: {} category: ''My-Tests''').
and I get a DNU: RBAddTraitChange>>superclassName
Cheers, -- Dr. Ciprian TEODOROV Ingénieur Développement CAO
tél : 06 08 54 73 48 mail : ciprian.teodorov@gmail.com www.teodorov.ro