diff options
| author | KOBAYASHI Shuji <[email protected]> | 2019-04-01 19:49:30 +0900 |
|---|---|---|
| committer | KOBAYASHI Shuji <[email protected]> | 2019-04-01 20:12:43 +0900 |
| commit | 55cb625808ab9b498d42d13442f5ce5115d606a5 (patch) | |
| tree | 0307cf00f4191c5ae1c410eac0fa4e00f196a30f /mrbgems/mruby-method | |
| parent | 6ec855a38e8116e4f0d04f188e948046b47af74f (diff) | |
| download | mruby-55cb625808ab9b498d42d13442f5ce5115d606a5.tar.gz mruby-55cb625808ab9b498d42d13442f5ce5115d606a5.zip | |
Fix modifiable class name
Fix the following example:
Object.const_set :A, Module.new{const_set :B, Class.new}
ab = A::B.to_s
p ab #=> "A::B" # Good
ab[0] = "x"
p A::B.to_s #=> "x::B" # Bad
Diffstat (limited to 'mrbgems/mruby-method')
0 files changed, 0 insertions, 0 deletions
