diff options
author | Alan Wu <XrXr@users.noreply.github.com> | 2020-09-02 13:58:29 -0400 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-09-03 16:49:45 +0900 |
commit | 7b9ef66747c91823bf22346ddda7b48329f29fb8 (patch) | |
tree | b232ba43e73f75e50b993902ae3a2adcf7d42018 /doc | |
parent | 50b18e81295ad2d45975e4d8ea1e0c7e85140b97 (diff) |
Don't call to_s in const_set
Follow up for 5e16857315bf55307c5fc887ca6f03bfa0630a93. Calling a method
in the middle of const_set adds a way that it would fail. It also makes
it inconsistent with declaring a constant using `::`, which doesn't call
`to_s`.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3509
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions