Jan. 28, 2010
8:57 p.m.
laurent laffont a écrit :
Now, a ProfStef tutorial must subclass AbstractTutorial. Danny has written a simple method to find all tutorials:
AbstractTutorial class >> tutorials ^self subclasses sortBy: [:a :b | a name < b name].
Note that the class name is used to generate the tutorial title (like in Rails). So: HowToMakeYourOwnTutorial title ==> 'How To Make Your Own Tutorial'
Laurent
ok, so, no need for registration or pragma then. thanks Alain