1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #32818 from mechanicles/remove-sentence-confusion

Remove confusion in the sentence [ci skip]
This commit is contained in:
Eileen M. Uchitelle 2018-05-04 07:58:47 -04:00 committed by GitHub
commit bd53f35e25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -231,9 +231,9 @@ is not entirely equivalent to the one of the body of the definitions using the
assignment.
Thus, when one informally says "the `String` class", that really means: the
class object stored in the constant called "String" in the class object stored
in the `Object` constant. `String` is otherwise an ordinary Ruby constant and
everything related to constants such as resolution algorithms applies to it.
class object stored in the constant called "String" and this "String" constant
gets stored in `Object` class. `String` is otherwise an ordinary Ruby constant
and everything related to constants such as resolution algorithms applies to it.
Likewise, in the controller