summaryrefslogtreecommitdiff
path: root/lib/ostruct.rb
diff options
context:
space:
mode:
authorMarc-Andre Lafortune <github@marc-andre.ca>2020-11-04 16:01:37 -0500
committerMarc-André Lafortune <github@marc-andre.ca>2020-11-04 17:52:03 -0500
commit6f24be856502aba8fa984e704c1e81aa12d96fc9 (patch)
tree5f2db6abe2182123c7104ba85a33d9bdc7870daf /lib/ostruct.rb
parent9232f9182736eeb0f12df5884d7297bea0c9f6fd (diff)
Revert "Make `marshal_load` public"
This reverts commit ee7cc6ac35cfb056b3946b1dcd6d4d5a140ccacf. I'm not sure I agree with the spec, but I just tweaked it.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3736
Diffstat (limited to 'lib/ostruct.rb')
-rw-r--r--lib/ostruct.rb1
1 files changed, 0 insertions, 1 deletions
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