[Newbies] How to shorten a method (using inject: into: ?)

Randal L. Schwartz merlyn at stonehenge.com
Tue Jul 22 18:05:10 UTC 2008


>>>>> "K" == K K Subramaniam <subbukk at gmail.com> writes:

K> Entering "sum" in a new line in workspace or text object and then pressing 
K> ALT+SHIFT+W would have revealed detectSum: (it is eleventh in my list).

Yeah, I looked near the implementation of #sum instead.  Ooops.

-- 
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