Finding examples for a class
Last updated at 12:12 pm UTC on 16 January 2006
Many Smalltalk classes have class methods which serve as example usage. To see these methods, open a system browser, go to the class, and click on the "Class" button in the middle of the browser.
Additionally, you can select "class refs" from the menu item of the third pane in the browser. This will give you a list of all direct references to the class in the system. Most often these direct references will be creating instances, which is useful in itself, but you can trace the code forward from there to see how the instances are actually used.
See also: Browse on all examples.