Squeak
  links to this page:    
View this PageEdit this Page (locked)Uploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
FAQ: How do I find all classes with a certain protocol?
Last updated at 6:17 pm UTC on 14 January 2006
Question: What's the simplest way to find all classes that have a certain procotol?

Answer:

 Smalltalk allClasses select:
   [:ea | ea organization categories 
                          includes: 'some category']