summaryrefslogtreecommitdiff
path: root/ext/psych
diff options
context:
space:
mode:
authorMichael Nikitochkin <miry.sof@gmail.com>2022-01-19 18:12:26 +0100
committergit <svn-admin@ruby-lang.org>2022-01-20 10:39:05 +0900
commitef2cf9245c93a0760ff4eb25dd60de981a6a05a9 (patch)
treeafa1404e85f0fef07d16fa451b85ed228241fdfc /ext/psych
parenteba90bc03482523f5243b3657aff4299631d94dd (diff)
[ruby/psych] Remove alias of load to unsafe_load
https://github.com/ruby/psych/commit/39e23cc86f
Diffstat (limited to 'ext/psych')
-rw-r--r--ext/psych/lib/psych.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/psych/lib/psych.rb b/ext/psych/lib/psych.rb
index 383078788f..1a95408ca0 100644
--- a/ext/psych/lib/psych.rb
+++ b/ext/psych/lib/psych.rb
@@ -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