[squeak-dev] The Inbox: Kernel-fbs.546.mcz
eliot.miranda at gmail.com
Tue Feb 15 22:02:57 UTC 2011
On Tue, Feb 15, 2011 at 1:50 PM, Nicolas Cellier <
nicolas.cellier.aka.nice at gmail.com> wrote:
> I'm just wondering: does a Metaclass have a category ?
> on one hand, plenty of #category senders are protected with
> #theNonMetaClass and we could do the same
> on the other hand, we could just simplify lot of other code with this
I don't know about you but I'm forever writing scripts where I want
metaclass to implement category. This addition is really useful IMO.
> 2011/2/15 <commits at source.squeak.org>:
> > A new version of Kernel was added to project The Inbox:
> > http://source.squeak.org/inbox/Kernel-fbs.546.mcz
> > ==================== Summary ====================
> > Name: Kernel-fbs.546
> > Author: fbs
> > Time: 15 February 2011, 4:04:05.286 pm
> > UUID: 89f8153f-e938-c742-9f8b-002d8e55612c
> > Ancestors: Kernel-nice.545
> > Allow one to declare a new class when one refers to the as-yet-undeclared
> class in a class-side method.
> > (http://bugs.squeak.org/view.php?id=7606)
> > =============== Diff against Kernel-nice.545 ===============
> > Item was added:
> > + ----- Method: Metaclass>>category (in category 'organization') -----
> > + category
> > + ^ thisClass category!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev