End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Delegator#marshal_dump
marshal_dump
lib/delegate.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/delegate.rb, line 203
def marshal_dump
ivars = instance_variables.reject {|var| /\A@delegate_/ =~ var}
[
:__v2__,
ivars, ivars.map {|var| instance_variable_get(var)},
__getobj__
]
end
Serialization support for the object returned by __getobj__.
See also
#__getobj__
#marshal_load
#freeze
#method_missing
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.1 · 3.0