From 8100bd18a42c29740e2d30d21b5f68be67f27d1b Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sun, 1 Sep 2024 19:48:24 +0200 Subject: [PATCH] Update project rules about crefs --- PROJECT_RULES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PROJECT_RULES.md b/PROJECT_RULES.md index 6fab6ac4..6f0c9404 100644 --- a/PROJECT_RULES.md +++ b/PROJECT_RULES.md @@ -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