Project

General

Profile

Feature #10215

prohibit subclassing for classes without allocator in Ruby

Added by Hanmac (Hans Mackowiak) about 5 years ago.

Status:
Open
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:64844]

Description

for the Ruby side it might be interesting if there is a way to prohibit the subclassing of classes that has no allocator like Symbol or Integer or TrueClass

but blocking it generally would break some C-Ext where it has base classes with undefined alloc

Also available in: Atom PDF