[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Help for SUnit, Packages and Seaside

From: Nicolas Petton
Subject: Re: [Help-smalltalk] Help for SUnit, Packages and Seaside
Date: Mon, 22 Mar 2010 03:45:23 +0100

Le lundi 22 mars 2010 à 00:36 +0100, Holger Hans Peter Freyther a
écrit :
> On Sunday 21 March 2010 21:58:57 Nicolas Petton wrote:
> > Grease is not ready to use yet. Currently many tests fail, as I just
> > imported code without really porting it, but I should have some time
> > next week to work on that :)
> Awesome, I cloned your repository and use that as an oppurtunity to improve 
> my 
> Smalltalk knowledge. The below is an application of capitalized that makes us 
> pass some more tests, I will attempt to make GST pass the GRStringTests this 
> week.

Sorry, my master branch was ahead of the github repo by 3 commits...

I pushed a simpler version of String>>capitalized.

capitalized [
    <category: '*Grease-GST-Core'>
        | capitalized |
        self isEmpty ifTrue: [^self].
        capitalized := self copy.
        capitalized at: 1 put: (self at: 1) asUppercase.



Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée

reply via email to

[Prev in Thread] Current Thread [Next in Thread]