[squeak-dev] The Inbox: MonticelloConfigurations-cmm.116.mcz
David T. Lewis
lewis at mail.msen.com
Tue Oct 8 17:35:39 UTC 2013
On Tue, Oct 08, 2013 at 06:20:48PM +0100, Frank Shearar wrote:
> On 8 October 2013 17:17, <commits at source.squeak.org> wrote:
> > A new version of MonticelloConfigurations was added to project The Inbox:
> > http://source.squeak.org/inbox/MonticelloConfigurations-cmm.116.mcz
> >
> > ==================== Summary ====================
> >
> > Name: MonticelloConfigurations-cmm.116
> > Author: cmm
> > Time: 8 October 2013, 11:17:41.275 am
> > UUID: 7fc9bf79-f791-4d78-adb8-beddd88b90bd
> > Ancestors: MonticelloConfigurations-bf.115
> >
> > Persist MCConfiguration's 'name'.
> >
> > =============== Diff against MonticelloConfigurations-bf.115 ===============
> >
> > Item was changed:
> > ----- Method: MCConfiguration class>>fromArray: (in category 'instance creation') -----
> > fromArray: anArray
> > | configuration |
> > configuration := self new.
> > anArray pairsDo: [:key :value |
> > key = #repository
> > ifTrue: [configuration repositories add: (self repositoryFromArray: value)].
> > key = #dependency
> > ifTrue: [configuration dependencies add: (self dependencyFromArray: value)].
> > + key = #name
> > + ifTrue: [configuration name: value].
>
> This looks like a good candidate for a #caseOf:.
>
Woohoo! It's the official start of our annual "caseOf is not object-oriented"
flame war! Let the festivities begin :-)
Dave
More information about the Squeak-dev
mailing list
|