From: matz@... Date: 2016-08-09T07:40:37+00:00 Subject: [ruby-core:76782] [Ruby trunk Feature#3511][Closed] rb_path_to_class should call custom const_defined? methods Issue #3511 has been updated by Yukihiro Matsumoto. Status changed from Feedback to Closed This is kind of autoload that sometimes cause problems. I think it can cause issues than solving problem. If you have a concrete use-case of this feature, please reopen. Matz. ---------------------------------------- Feature #3511: rb_path_to_class should call custom const_defined? methods https://bugs.ruby-lang.org/issues/3511#change-60006 * Author: Aaron Patterson * Status: Closed * Priority: Normal * Assignee: ---------------------------------------- =begin It would be nice if rb_path_to_class called custom const_defined? methods. This would give marshaled objects a chance to locate and define classes when they are being unmarshalled. I've attached a patch with a test that demonstrates the desired functionality and a (probably naive) implementation. =end ---Files-------------------------------- rb_path_to_class.patch (1.67 KB) marshal-dynamic.patch (1.81 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: