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

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

Author: Marc-Andre Lafortune
Status: Open
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