[squeak-dev] The Trunk: SMBase-cmm.125.mcz
asqueaker at gmail.com
Sat Feb 12 22:53:16 UTC 2011
Sorry for the bomb; almost done..
On Sat, Feb 12, 2011 at 4:48 PM, <commits at source.squeak.org> wrote:
> Chris Muller uploaded a new version of SMBase to project The Trunk:
> ==================== Summary ====================
> Name: SMBase-cmm.125
> Author: cmm
> Time: 10 February 2011, 9:52:32.826 am
> UUID: e3eb12c5-65b7-43aa-b6d9-c59c2081ed6d
> Ancestors: SMBase-cmm.124
> Added SMSqueakMap>>installPackageNamed:version: convenience method.
> =============== Diff against SMBase-cmm.124 ===============
> Item was added:
> + ----- Method: SMSqueakMap>>installPackageNamed:version: (in category 'public-installation') -----
> + installPackageNamed: aString version: version
> + "Install the release <version> of the package with a name
> + beginning with aString (see method comment
> + of #packageWithNameBeginning:). <version> is the
> + user-specified version name."
> + | package release |
> + package := self packageWithNameBeginning: aString.
> + package ifNil: [self error: 'No package found with name beginning with ', aString].
> + release := package releaseWithVersion: version.
> + release ifNil: [self error: 'No package release found with version ', version].
> + ^self installPackageRelease: release!
More information about the Squeak-dev