Skip to content

Commit

Permalink
fix: #listAtCategoryNamed: has been deprecated in Pharo 12
Browse files Browse the repository at this point in the history
  • Loading branch information
theseion committed Sep 23, 2023
1 parent d3a45fe commit 0f9ddae
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
class organization
classesInCategory: aCategory
^ (Smalltalk organization tagForCategory: aCategory)
ifNotNil: [ :tag |
tag classNames collect: [ :className | Smalltalk at: className ] ]
ifNil: [ #() ]

0 comments on commit 0f9ddae

Please sign in to comment.