Hi,
| class |
class := FAMIXClass new.
class name: 'AClass'.
class addToMethods: (FAMIXMethod new name: 'aMethod'; yourself).
class addToMethods: (FAMIXMethod new name: 'anotherMethod'; yourself).
(class mooseDescription allAttributes detect: [:p | p name ==
#methods]) getFrom: class
The following code returns:
an Array(an OrderedCollection(a FAMIXMethod #aMethod a FAMIXMethod
#anotherMethod))
Shouldn't it be instead?:
an OrderedCollection(a FAMIXMethod #aMethod a FAMIXMethod
#anotherMethod)
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.