summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2020-10-06 15:13:49 -0700
committerAaron Patterson <tenderlove@ruby-lang.org>2020-10-06 15:13:49 -0700
commitee7cc6ac35cfb056b3946b1dcd6d4d5a140ccacf (patch)
tree90e2b8d6654588c4a801bb67e9545ee20b50a6ea /lib
parent1486785a5759c5cb0b7a7bf0bc5368cc9a280191 (diff)
Make `marshal_load` public
Ruby specs expected this method to be public
Diffstat (limited to 'lib')
-rw-r--r--lib/ostruct.rb1
1 files changed, 1 insertions, 0 deletions
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