From ee7cc6ac35cfb056b3946b1dcd6d4d5a140ccacf Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Tue, 6 Oct 2020 15:13:49 -0700 Subject: Make `marshal_load` public Ruby specs expected this method to be public --- lib/ostruct.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/ostruct.rb') diff --git a/lib/ostruct.rb b/lib/ostruct.rb index 45ccb54925..fd1b8e7ee2 100644 --- a/lib/ostruct.rb +++ b/lib/ostruct.rb @@ -203,6 +203,7 @@ 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