| 49 | To apply macros, just add pragmas to methods and classes. Method pragmas are added in the usual way, between the signature line and the code; class pragmas are added by placing them above the `subclass:` call in the class definition window. Examples: |
| 50 | |
| 51 | {{{ |
| 52 | withAll: aNumberArray |
| 53 | <shortcuts: #with count: 3> |
| 54 | |
| 55 | ^ self new addAll: aNumberArray |
| 56 | }}} |
| 57 | |
| 58 | {{{ |
| 59 | <immutable> |
| 60 | Object subclass: #Klasse1 |
| 61 | instanceVariableNames: '' |
| 62 | classVariableNames: '' |
| 63 | poolDictionaries: '' |
| 64 | category: 'Playground' |
| 65 | }}} |
| 66 | |