[Newbies] Easy way to override a method?

Herbert König herbertkoenig at gmx.net
Sat May 17 06:57:03 UTC 2008


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   



More information about the Beginners mailing list