summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2022-01-20 10:38:49 +0900
committerGitHub <noreply@github.com>2022-01-20 10:38:49 +0900
commitc40ce47e77de42f444b4ae4928ccc520385f822f (patch)
treee0dc5f2334f8b41c2ec79f6dc5af666b0ca251ae
parentba203f19c03763e6f7b7b97a76ce89e3ae488a6f (diff)
parent39e23cc86f0f464b597e1022da75d68a3840d2dd (diff)
downloadpsych-c40ce47e77de42f444b4ae4928ccc520385f822f.tar.gz
Merge pull request #539 from miry/patch-1
Remove alias of load to unsafe_load
-rw-r--r--lib/psych.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/psych.rb b/lib/psych.rb
index 3830787..1a95408 100644
--- a/lib/psych.rb
+++ b/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