How can I get all the methods in a Protocol?

Posted by jdinuncio on Stack Overflow See other posts from Stack Overflow or by jdinuncio
Published on 2010-06-07T15:48:39Z Indexed on 2010/06/07 15:52 UTC
Read the original article Hit count: 260

Filed under:
|
|

Hello,

How can I get a collection of all the (class) methods in a given protocol in smalltalk/squeak/pharo?

I'm trying to collect the values returned by a group of methods. I don't want to have to store the methods in an instance or class variable. So I though I could add them to a protocol and in this way to "mark" them.

Thanks.

© Stack Overflow or respective owner

Related posts about smalltalk

Related posts about squeak