[squeak-dev] Printf class

Balázs Kósi kosi.balazs at ezomer.hu
Mon Oct 8 15:56:23 UTC 2012


Hi!

You can put methods into any class. The Printf package just does that:
it defines the #printf: method in the String class.
When creating your own package, the convention is to put methods
extending classes outside your package into method categories prefixed
with *YourPackageName. Monticello uses this to pick up extension
methods.

Cheers, Balázs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: System Browser: String.png
Type: image/png
Size: 29650 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20121008/9884ac82/String.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Snapshot Browser: Printf.png
Type: image/png
Size: 17180 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20121008/9884ac82/Printf.png


More information about the Squeak-dev mailing list