Skip to content

Commit 39e23cc

Browse files
authored
Remove alias of load to unsafe_load
1 parent ba203f1 commit 39e23cc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/psych.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,6 @@ def self.unsafe_load yaml, filename: nil, fallback: false, symbolize_names: fals
273273
return fallback unless result
274274
result.to_ruby(symbolize_names: symbolize_names, freeze: freeze)
275275
end
276-
class << self; alias :load :unsafe_load; end
277276

278277
###
279278
# Safely load the yaml string in +yaml+. By default, only the following

0 commit comments

Comments
 (0)