summaryrefslogtreecommitdiff
path: root/spec/ruby/core/class
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2023-01-22 09:04:11 -0500
committergit <[email protected]>2023-01-23 02:07:23 +0000
commit8fded5f5d12be958ca803627a541e5a5d9323586 (patch)
tree0bb999a807d574b220abe9080ed5deadf58df37e /spec/ruby/core/class
parentd623210811354aec6740d594e41d7aeccbc00da8 (diff)
[ruby/psych] Fix RestrictedYAMLTree allowing the Symbol class should allow all symbols
Ref: https://github.com/ruby/psych/pull/495 That's how it works for `safe_load`: ```ruby >> YAML.safe_load(':foo', permitted_classes: [Symbol]) => :foo ``` So `safe_dump` should mirror that. https://github.com/ruby/psych/commit/592a75a656
Diffstat (limited to 'spec/ruby/core/class')
0 files changed, 0 insertions, 0 deletions