Project

General

Profile

Bug #5307

Matrix & subclasses

Added by marcandre (Marc-Andre Lafortune) almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
r33245
Backport:
[ruby-core:39454]

Description

Matrix doesn't deal properly with subclasses:

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

Also available in: Atom PDF