[Newbies] Re: How to remove a method programatically
Randal L. Schwartz
merlyn at stonehenge.com
Wed May 21 13:46:46 UTC 2008
>>>>> "Rob" == Rob Rothwell <r.j.rothwell at gmail.com> writes:
Rob> Never mind, I guess...one more try got me:
Rob> RefactoringBrowser new removeMethodsSafe: #(#method1) from: ArbitraryObject.
Well, that's a higher-level view. But whenever you think "methods" think
"Behavior" class, because (nearly) anything that has a method dictionary
eventually inherits from there. Notice the protocol category "adding/removing
methods", and below that, #removeSelector:. It even has a comment, although
that's about traits. :)
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
More information about the Beginners
mailing list