logo       

Re: traits question: msg#00047

lang.smalltalk.squeak.beginners

Subject: Re: traits question


On 6 nov. 07, at 19:39, itsme213 wrote:

Can method names be re-mapped when I apply a trait? How?

you can use aliasing but it just introduce a new name for the method (it is not a rename
sends are not renamed).

Also, if yes, can the same trait be used multiple times to the came class
(with different mappings)?

No


Thanks - Sophie



_______________________________________________
Beginners mailing list
Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx
http://lists.squeakfoundation.org/mailman/listinfo/beginners



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise