[squeak-dev] The Inbox: Kernel-cmm.464.mcz

Bert Freudenberg bert at freudenbergs.de
Sat Jun 19 20:00:29 UTC 2010


On 19.06.2010, at 19:55, commits at source.squeak.org wrote:

> A new version of Kernel was added to project The Inbox:
> http://source.squeak.org/inbox/Kernel-cmm.464.mcz
> 
> ==================== Summary ====================
> 
> Name: Kernel-cmm.464
> Author: cmm
> Time: 19 June 2010, 2:55:08.254 pm
> UUID: 2f0eca0f-96b3-4435-b9f0-a7574c11c0b9
> Ancestors: Kernel-cmm.463
> 
> - Added Object>>#asArray.  This streamlines the use of public API's that permit a collection argument, by not requiring the user of the API to create a collection when only a single element is wanted anyway.
> 
> =============== Diff against Kernel-cmm.463 ===============
> 
> Item was added:
> + ----- Method: Object>>asArray (in category 'converting') -----
> + asArray
> + 
> + 	^ Array with: self
> + 
> + !

Uh oh. Why not write {object} at the sending site?

- Bert -





More information about the Squeak-dev mailing list