thanks guys
the folowing worked. i realised i had to use addAll not add
MyObject>>description
 ^ super description copy
 addAll: self customDescription;
 yourself

> Date: Thu, 9 Aug 2007 20:53:55 +0200
> From: damien.cassou@gmail.com
> To: smallwiki@iam.unibe.ch
> Subject: Re: help with Magritte tutorial
>
> 2007/8/9, isaiah <cappadonza@hotmail.com>:
> >
> > cool thanks lukas
> > exercise 18 also ays "Override #description on the instance-side, call super
> > and
> > compose it with the CustomDescription." what does this mean how do i compose
> > it
>
> I guess it means something like:
>
> MyObject>>description
> ^ super description copy
> add: self customDescription;
> yourself
>
> I'm not sure, but I think #copy is important after the call to super.
>
> --
> Damien Cassou
>
> _______________________________________________
> SmallWiki, Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki



Explore the seven wonders of the world Learn more!