July 3, 2012
2:06 p.m.
Issue 6243: ZnUrl: Convenience method to add to path http://code.google.com/p/pharo/issues/detail?id=6243 How about #/ like FileReference. Then the following: baseUrl := 'https://ci.lille.inria.fr/pharo/job' asZnUrl. lastSuccessfulBuildUrl := baseUrl addPathSegment: aString; addPathSegment: 'lastSuccessfulBuild'. could become... lastSuccessfulBuildUrl := baseUrl / aString / 'lastSuccessfulBuild'. Here's the code (also attached to the issue): / aString ^ self copy addPathSegment: aString. -- View this message in context: http://forum.world.st/ZnUrl-Convenience-method-to-add-to-path-tp4637920.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.