End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
DRb::DRbServer#any_to_s
any_to_s(obj)
lib/drb/drb.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/drb/drb.rb, line 1579
def any_to_s(obj)
"#{obj}:#{obj.class}"
rescue
Kernel.instance_method(:to_s).bind_call(obj)
end
Coerce an object to a string, providing our own representation if to_s is not defined for the object.