ruby-changes:63291
From: Aaron <ko1@a...>
Date: Wed, 7 Oct 2020 07:14:48 +0900 (JST)
Subject: [ruby-changes:63291] ee7cc6ac35 (master): Make `marshal_load` public
https://git.ruby-lang.org/ruby.git/commit/?id=ee7cc6ac35 From ee7cc6ac35cfb056b3946b1dcd6d4d5a140ccacf Mon Sep 17 00:00:00 2001 From: Aaron Patterson <tenderlove@r...> Date: Tue, 6 Oct 2020 15:13:49 -0700 Subject: Make `marshal_load` public Ruby specs expected this method to be public diff --git a/lib/ostruct.rb b/lib/ostruct.rb index 45ccb54..fd1b8e7 100644 --- a/lib/ostruct.rb +++ b/lib/ostruct.rb @@ -203,6 +203,7 @@ class OpenStruct https://github.com/ruby/ruby/blob/trunk/lib/ostruct.rb#L203 # 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 v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/