On Tuesday 18 December 2007 12:06:59 am Stephen Compall wrote:
>
> MyClass extend [
> "more methods!"
> ]
>
> This is already in there.
Cool, how about one small step further, like:
MyClass category: 'new category' extend [
"more methods!"
]
Or reusing the existing syntax:
MyClass extend [
<category: 'new category'>
"more methods!"
]
So the category pragma apply to all methods in the same block unless there is
another pragma inside the method to overwrite.
Derek
_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk