diff options
author | Jean Boussier <jean.boussier@gmail.com> | 2021-09-18 15:34:15 +0200 |
---|---|---|
committer | Jean Boussier <jean.boussier@gmail.com> | 2021-10-05 18:34:56 +0200 |
commit | afcbb501ac17ba2ad5370ada5fd26e8dda9a5aaa (patch) | |
tree | 7316e197ec1f1097b334ad587ee58a58d9961b3f /spec/ruby/optional | |
parent | 279b2b5b600f0bb16f7ebb08aa4a299cf7b023a8 (diff) | |
download | ruby-afcbb501ac17ba2ad5370ada5fd26e8dda9a5aaa.tar.gz |
marshal.c Marshal.load accepts a freeze: true option.
Fixes [Feature #18148]
When set, all the loaded objects are returned as frozen.
If a proc is provided, it is called with the objects already frozen.
Diffstat (limited to 'spec/ruby/optional')
0 files changed, 0 insertions, 0 deletions