[Pharo-project] Comment in Behavior >> allMethods is wrong ?

Mariano Martinez Peck marianopeck at gmail.com
Tue Oct 19 13:44:32 EDT 2010

It says:

Behavior >> allMethods
    "Return the collection of compiled method I am defining"
    "asArray is used to not bump into a bug when comparing compiled

    ^ self allSelectors asArray collect: [ :s | self lookupSelector: s ]

However...it answer not only the ones defined by itself, but also from
superclasses. So...the comment is confusing for me. I am the only one ?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20101019/2e638f5f/attachment-0001.html>

More information about the Pharo-dev mailing list