Issue #5307 has been updated by Marc-Andre Lafortune.

Status changed from Open to Closed

Initially from http://stackoverflow.com/questions/6064902/copy-inheritance-of-ruby-matrix-class-core-std-lib
Fixed in r33246.

----------------------------------------
Bug #5307: Matrix & subclasses
http://redmine.ruby-lang.org/issues/5307

Author: Marc-Andre Lafortune
Status: Closed
Priority: Low
Assignee: Marc-Andre Lafortune
Category: lib
Target version: 1.9.4
ruby -v: r33245


Matrix doesn't deal properly with subclasses:

    Class.new(Matrix)[[42]].class # => Matrix


-- 
http://redmine.ruby-lang.org