A Traits question
itsme213
itsme213 at hotmail.com
Thu Feb 14 19:32:10 UTC 2008
"itsme213" <itsme213 at hotmail.com> wrote
> Where the intent is roughly equivalent to some intermediate traits:
> TraitA>>a
> self x
> TraitA>>b
> self y
>
> Trait named: #TraitA1 uses: { TraitA }
> TraitA1>>a1
> self x1
>
> Trait named: #TraitA2 uses: { TraitA }
> TraitA2>>a2
> self x2
I left out...
Object subclass: #MyClass
uses: { TraitA1. TraitA2 }
- Sophie
More information about the Squeak-dev
mailing list
|