The Trunk: Kernel-nice.460.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Kernel-nice.460.mcz

commits-2
Nicolas Cellier uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-nice.460.mcz

==================== Summary ====================

Name: Kernel-nice.460
Author: nice
Time: 12 June 2010, 2:19:25.578 am
UUID: f4fe2c21-dea0-4c4e-ad78-12c8151cf993
Ancestors: Kernel-nice.459

add #methodsInCategory: from Pharo (needed by newer XMLParser package)

Correct a minor typo in a comment (Pharo).

=============== Diff against Kernel-nice.459 ===============

Item was changed:
  ----- Method: Integer>>asFraction (in category 'converting') -----
  asFraction
+ "Answer a Fraction that represents the value of the receiver."
- "Answer a Fraction that represents value of the the receiver."
 
  ^Fraction numerator: self denominator: 1!

Item was added:
+ ----- Method: ClassDescription>>methodsInCategory: (in category 'accessing method dictionary') -----
+ methodsInCategory: aName
+ "Answer a list of the methods of the receiver that are in category named aName"
+
+ | aColl |
+ aColl := Set withAll: (aName = ClassOrganizer allCategory
+ ifTrue: [self organization allMethodSelectors]
+ ifFalse: [self organization listAtCategoryNamed: aName]).
+ ^ aColl asArray sort!