Clever documentation

26 04 2009

Playing with Squeak‘s Method Finder, I discovered a really neat feature that I wish would be available for Ruby documentation. Here’s the description from the built-in help:

[...] use an example to find a method in the system. Type receiver, args, and answer in the top pane with periods between the items. 3. 4. 7

Yes, this means that if you want to know how to do modulo in Smalltalk, you can open the Method Finder, type 7. 3. 1 and see that the answer is Number>>\\, whereas ‘abc’ . ‘ABC’ will tell us about String>>asUppercase.



Trackbacks


No Trackbacks

Comments

Display comments as (Linear | Threaded)
No comments

Add Comment


Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Textile-formatting allowed

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA 1CAPTCHA 2CAPTCHA 3CAPTCHA 4CAPTCHA 5


Standard emoticons like :-) and ;-) are converted to images.