Actions
Bug #9138
closedmake initialize_copy private
Description
it was discussed with nobu that initialize_copy should be a private method, and any cases where it's public is considered a bug.
when i asked matz he said, it sounds good and ok to experiment with this change in trunk.
Updated by zzak (zzak _) almost 11 years ago
- Target version set to 2.6
Going to postpone this until 2.2
Updated by marcandre (Marc-Andre Lafortune) almost 11 years ago
Isn't initialize_copy already private (as it should be)?
ObjectSpace.each_object(Class).reject {|k| k.private_method_defined?(:initialize_copy)}
# => [BasicObject]
Updated by jeremyevans0 (Jeremy Evans) over 5 years ago
- Status changed from Assigned to Closed
- Backport deleted (
1.9.3: UNKNOWN, 2.0.0: UNKNOWN)
Actions
Like0
Like0Like0Like0Like0