« Return to Thread: Easy way to override a method?

Re: Easy way to override a method?

by Herbert König :: Rate this Message:

Reply to Author | View in Thread

Hello Tim,

TM> Is there an easy way in Squeak to override a method?

if I don't misunderstand you, you just redefine it in your subclass?

TM> (it is in Dolphin). Failing this I tried drag and drop - but that seems to
TM> just move the method (I held the Control key while dragging but I guess thats
TM> a Dolphin and a windows thing).

RB uses the shift key to copy a method into another class instead of
moving it. Other refactorings are push up, push down moving the method
down to every subclass.



--
Cheers,

Herbert  

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

 « Return to Thread: Easy way to override a method?

LightInTheBox - Buy quality products at wholesale price