Closed Watson1978 closed 6 months ago
rb_hash_bulk_insert function can be used as public API since Ruby 2.7.0. https://github.com/ruby/ruby/commit/d3df725f9efeb0e6c121f9a1316abaa90956f1b8
rb_hash_bulk_insert
Current Oj gem only supports Ruby 2.7.0 or later. So there is no need to check whether function exists.
Thanks you.
rb_hash_bulk_insert
function can be used as public API since Ruby 2.7.0. https://github.com/ruby/ruby/commit/d3df725f9efeb0e6c121f9a1316abaa90956f1b8Current Oj gem only supports Ruby 2.7.0 or later. So there is no need to check whether function exists.