summaryrefslogtreecommitdiff
path: root/test/ruby/test_variable.rb
diff options
context:
space:
mode:
authoreileencodes <[email protected]>2021-03-10 10:24:28 -0500
committerAaron Patterson <[email protected]>2021-03-10 09:39:18 -0800
commit23a48d8fe683df289736e2d90c86006eb919b40d (patch)
treecf955554a13a3bf0564f57445302455a02dec59a /test/ruby/test_variable.rb
parent9cdb5a51532c99230c2303912a13b9f752f1e775 (diff)
Refactor `rb_class_ivar_set`
In every caller of `rb_class_ivar_set` it checks for the `RCLASS_IV_TBL` and then creates it if it doesn't exist. Instead of repeating this in every caller, this can be done once in `rb_class_ivar_set`.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4254
Diffstat (limited to 'test/ruby/test_variable.rb')
0 files changed, 0 insertions, 0 deletions