[Pharo-dev] Fuel API bug
maxleske at gmail.com
Sun Aug 4 10:49:54 EDT 2013
Time: 4 August 2013, 4:49:17.037 pm
* created new version 1.9.2 for development
* pointed development to 1.9.2
* includes changes Camillo wanted to introduce into 1.9.1 (DateAndTime fix)
On 04.08.2013, at 16:35, Max Leske <maxleske at gmail.com> wrote:
> Yeah, no problem. I'll get on it right away.
> On 04.08.2013, at 16:10, Stéphane Ducasse <stephane.ducasse at inria.fr> wrote:
>> Hi guys
>> can you rename this method?
>> on: aCollectionOrStream do: aBlock
>> "Evaluates a block with a new stream based on the collection or stream. Answers the result of the block evaluation. Follows the style of FileStream>>fileNamed:do:."
>> | aStream |
>> aStream := self on: aCollectionOrStream.
>> [ ^ aBlock value: aStream ] ensure: [ aStream close ]
>> Please do not use on:do: for something that is not about exception (and announcements).
>> It is too confusing and refactor after.
More information about the Pharo-dev