Skip to content

Commit b4a5b1d

Browse files
authored
Merge pull request #353 from macta/patch-2
Update Pragmas.md to reflect new #allNamed: api
2 parents b2d3ba4 + 8620cdf commit b4a5b1d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

General/Pragmas.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,10 @@ Pragma allNamed: #applicationParameterOptional: from: MyConfiguration to: MyAbst
102102

103103
### Collect pragmas in the image
104104

105-
The second way to collect the pragmas to handle them is to use the PragmaCollector. This class can be configured with a query and will return all the pragmas matching the query.
105+
You can also use the Pragma class to collect pramgas in the entire image by using:
106+
- `allNamed: aSymbol `
107+
108+
A second, now less reccomended way to collect pragmas, is to use the PragmaCollector. This class can be configured with a query and will return all the pragmas matching the query.
106109

107110
To configure the PragmaCollector we need to send implement a filter block. If we want to collect the `primitive:` pragmas:
108111

0 commit comments

Comments
 (0)