diff options
author | Jean Boussier <[email protected]> | 2021-09-18 15:34:15 +0200 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2021-10-05 18:34:56 +0200 |
commit | afcbb501ac17ba2ad5370ada5fd26e8dda9a5aaa (patch) | |
tree | 7316e197ec1f1097b334ad587ee58a58d9961b3f /inits.c | |
parent | 279b2b5b600f0bb16f7ebb08aa4a299cf7b023a8 (diff) |
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 'inits.c')
-rw-r--r-- | inits.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -98,6 +98,7 @@ rb_call_builtin_inits(void) BUILTIN(kernel); BUILTIN(timev); BUILTIN(nilclass); + BUILTIN(marshal); Init_builtin_prelude(); } #undef CALL |