diff options
| author | Andy Wong <36797624+topcminwer@users.noreply.github.com> | 2024-08-23 19:44:51 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-23 20:44:51 +0900 |
| commit | b51e1c07d84af189885f10a947e75497481c958d (patch) | |
| tree | b5ea947089557ec926acd7c3a4c40db5b8264739 /test/ruby/test_variable.rb | |
| parent | 4dae4c6858bb57053ce1e8174e2d52b8288cf7c9 (diff) | |
[DOC] Fix typos in ObjectSpace::WeakMap docs
The value of variable key2 should be "bar". This way, when nil is assigned to val1 and garbage collection occurs, the output of m.keys will then be ["bar"].
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/11442
Merged-By: nobu <nobu@ruby-lang.org>
Diffstat (limited to 'test/ruby/test_variable.rb')
0 files changed, 0 insertions, 0 deletions
