From 6f24be856502aba8fa984e704c1e81aa12d96fc9 Mon Sep 17 00:00:00 2001 From: Marc-Andre Lafortune Date: Wed, 4 Nov 2020 16:01:37 -0500 Subject: Revert "Make `marshal_load` public" This reverts commit ee7cc6ac35cfb056b3946b1dcd6d4d5a140ccacf. I'm not sure I agree with the spec, but I just tweaked it. --- lib/ostruct.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'lib') diff --git a/lib/ostruct.rb b/lib/ostruct.rb index d7ff0f630d..823c829d54 100644 --- a/lib/ostruct.rb +++ b/lib/ostruct.rb @@ -203,7 +203,6 @@ class OpenStruct # Provides marshalling support for use by the Marshal library. # alias_method :marshal_load, :update_to_values! # :nodoc: - public :marshal_load # # Used internally to defined properties on the -- cgit v1.2.3