1
0
Fork 0
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:
Alex Johnson 2015-01-29 16:46:44 -08:00
parent 38dd7939e6
commit dc6f5cb0dd

View file

@ -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: