[GemStone-Smalltalk] Listing methods

Pierre CHANSON via GemStone-Smalltalk gemstone-smalltalk at lists.gemtalksystems.com
Tue Feb 24 09:15:32 PST 2015


Thank you very much Reno and Bill !

actually for me SystemRepository class or Repository don't reconize #
_methodDict. Maybe due to my version of GemStone ?
(GemStone64Bit3.2.1-x86_64.Linux)

I was using something like:
(Repository instVarNamed: 'methDicts') asArray.
But was not exactly nice nor what I needed because it give me some
GsNMethod.

the method #selectors works just fine :)

Thanks,

Pierre


2015-02-24 12:32 GMT-03:00 Bill Erickson <bill.erickson at gemtalksystems.com>:

> <className> selectors
>
>
>
> ------------------------------------------------------------------------
> Bill Erickson
> GemTalk Systems Engineering
> 15220 NW Greenbrier Parkway #240, Beaverton OR 97006
> ------------------------------------------------------------------------
>
> On Tue, Feb 24, 2015 at 7:15 AM, Pierre CHANSON via GemStone-Smalltalk <
> gemstone-smalltalk at lists.gemtalksystems.com> wrote:
>
>> hi all,
>>
>> I would like to know what is the best way to list all methods of a class,
>> a method like: Class>>#allMethods so I can get apply some #asArray on it
>>
>> Thank you,
>>
>> Pierre
>>
>> _______________________________________________
>> GemStone-Smalltalk mailing list
>> GemStone-Smalltalk at lists.gemtalksystems.com
>> http://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/gemstone-smalltalk/attachments/20150224/6b064e3b/attachment.html>


More information about the GemStone-Smalltalk mailing list