1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/psych] Remove alias of load to unsafe_load

https://github.com/ruby/psych/commit/39e23cc86f
This commit is contained in:
Michael Nikitochkin 2022-01-19 18:12:26 +01:00 committed by git
parent eba90bc034
commit ef2cf9245c

View file

@ -273,7 +273,6 @@ module Psych
return fallback unless result
result.to_ruby(symbolize_names: symbolize_names, freeze: freeze)
end
class << self; alias :load :unsafe_load; end
###
# Safely load the yaml string in +yaml+. By default, only the following