Skip to content

Commit

Permalink
Update project rules about crefs
Browse files Browse the repository at this point in the history
  • Loading branch information
fxn committed Sep 1, 2024
1 parent 1beae0c commit 8100bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PROJECT_RULES.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ It is very important that all the source code uses systematically the following

* `cname`: A constant name, for example `:User`. Must be a symbol.
* `cpath`: A constant path, for example `"User"` or `"Hotel::Pricing"`. Must be a string.
* `cref`: A constant reference represented as an array of two elements. The first one a class or module object, and the second one a constant name as a symbol. For example `[Admin, :UsersController]`.
* `cref`: An instance of `Zeitwerk::Cref`.

### Variables for paths

Expand Down

0 comments on commit 8100bd1

Please sign in to comment.