[squeak-dev] The Trunk: Collections-bf.498.mcz
H. Hirzel
hannes.hirzel at gmail.com
Tue Jan 22 19:54:48 UTC 2013
Good to have this now in Squeak!
Just comes handy for me. Thank you.
--Hannes
On Tue, 22 Jan 2013 17:12:49.511 0000, commits at source.squeak.org
<commits at source.squeak.org> wrote:
> Bert Freudenberg uploaded a new version of Collections to project The
> Trunk:
> http://source.squeak.org/trunk/Collections-bf.498.mcz
>
> ==================== Summary ====================
>
> Name: Collections-bf.498
> Author: bf
> Time: 22 January 2013, 9:12:43.242 am
> UUID: 8b3351ea-4d1a-4771-985b-589a13b3e605
> Ancestors: Collections-nice.497, Collections-topa.366
>
> Merge Collections-topa.366:
> Provide #asCamelCase for Strings.
>
> =============== Diff against Collections-nice.497 ===============
>
> Item was added:
> + ----- Method: String>>asCamelCase (in category 'converting') -----
> + asCamelCase
> + "Convert to CamelCase. Can be conveinient
> + in conjunction with #asLegalSelector
> + 'A man, a plan, a canal, panama' asCamelCase.
> + 'A man, a plan, a canal, panama' asCamelCase asLegalSelector.
> + 'Here 123should % be 6 the name6 of the method' asCamelCase.
> + 'Here 123should % be 6 the name6 of the method' asCamelCase
> asLegalSelector."
> +
> + ^ self class streamContents: [:stream |
> + self substrings do: [:sub |
> + stream nextPutAll: sub capitalized]]!
>
>
>
More information about the Squeak-dev
mailing list
|