Skip to content

Commit

Permalink
Merge pull request #353 from macta/patch-2
Browse files Browse the repository at this point in the history
Update Pragmas.md to reflect new #allNamed: api
  • Loading branch information
jecisc committed Jun 19, 2024
2 parents b2d3ba4 + 8620cdf commit b4a5b1d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion General/Pragmas.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,10 @@ Pragma allNamed: #applicationParameterOptional: from: MyConfiguration to: MyAbst

### Collect pragmas in the image

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.
You can also use the Pragma class to collect pramgas in the entire image by using:
- `allNamed: aSymbol `

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.

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

Expand Down

0 comments on commit b4a5b1d

Please sign in to comment.