Project

General

Profile

Actions

Feature #3511

closed

rb_path_to_class should call custom const_defined? methods

Added by tenderlovemaking (Aaron Patterson) over 14 years ago. Updated about 8 years ago.

Status:
Closed
Assignee:
-
Target version:
-

Description

=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) rb_path_to_class.patch tenderlovemaking (Aaron Patterson), 07/01/2010 07:00 AM
marshal-dynamic.patch (1.81 KB) marshal-dynamic.patch oggy (George Ogata), 07/05/2016 04:47 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0