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

_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to