On 12.06.2014, at 15:06, Marc-Philippe Huget <[email protected]> wrote:
> Hello everybody,
>
> I try to do a tutorial for our project and I decided to use ProfStef, so I
> follow the instructions as given in HowToMakeYourOwnTutorial, so
> * no problem to create a class inheriting from AbstractClass
> * creating two protocols lessons and tutorial
> * a method tutorial returning the list of tutorials as an array
> * a method per tutorial
>
> My only problem is regarding running this tutorial
> In ProfStef, we do ProfStef go but here, go is not recognized
> If I change from AbstractTutorial to PharoTutorial, I obviously have go, goOn
> and next but this is not my tutorial
>
> I guess this is a problem of player, but how? Thanks in advance for your help
>
> Regards,
> mph
>
Assuming your new tutorial class is named MyNewTutorial, you simply run
PharoTurorial goOn: MyNewTutorial
And if you want it to be a bit nicer to look at, you can add a #go method on
the class side:
MyNewTutorial class compile: 'go
PharoTutorial goOn: self’
HTH,
Max