summaryrefslogtreecommitdiff
path: root/ext/psych/lib/psych/exception.rb
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2021-05-17 23:09:37 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-06-07 19:15:14 +0900
commit430883158f3d01f80917d6eefbaa82521c95c05a (patch)
tree3046a244aa2333460759859d4bc0a22dd1f6173e /ext/psych/lib/psych/exception.rb
parentdd765f9e605eb1a6426a0e3165e2db71b2081d03 (diff)
[ruby/psych] Make YAML.load_file use YAML.load instead of safe_load
YAML.load and YAML.safe_load are different a little; the former allows Symbol by default but the latter doesn't. So YAML.load_file and YAML.safe_load_file should reflect the difference. Fixes #490 https://github.com/ruby/psych/commit/f8a5e512a1
Diffstat (limited to 'ext/psych/lib/psych/exception.rb')
0 files changed, 0 insertions, 0 deletions