mirror of https://github.com/rails/rails
Merge pull request #18736 from nonsensery/autoload-guide-grammar-fix
Fix grammar in Qualified Constants section [ci skip]
This commit is contained in:
commit
4a0046164d
|
@ -324,7 +324,7 @@ relative: `::Billing::Invoice`. That would force `Billing` to be looked up
|
|||
only as a top-level constant.
|
||||
|
||||
`Invoice` on the other hand is qualified by `Billing` and we are going to see
|
||||
its resolution next. Let's call *parent* to that qualifying class or module
|
||||
its resolution next. Let's define *parent* to be that qualifying class or module
|
||||
object, that is, `Billing` in the example above. The algorithm for qualified
|
||||
constants goes like this:
|
||||
|
||||
|
|
Loading…
Reference in New Issue