mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix grammar in Qualified Constants section
New wording is based on the "cref" sentence earlier in the section. [ci skip]
This commit is contained in:
parent
38dd7939e6
commit
dc6f5cb0dd
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ relative: `::Billing::Invoice`. That would force `Billing` to be looked up
|
||||||
only as a top-level constant.
|
only as a top-level constant.
|
||||||
|
|
||||||
`Invoice` on the other hand is qualified by `Billing` and we are going to see
|
`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
|
object, that is, `Billing` in the example above. The algorithm for qualified
|
||||||
constants goes like this:
|
constants goes like this:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue