From: Marc-Andre Lafortune Date: 2010-12-14T07:42:26+09:00 Subject: [ruby-core:33704] [Ruby 1.9-Bug#4136] Enumerable#reject should not inherit the receiver's instance variables Issue #4136 has been updated by Marc-Andre Lafortune. Category set to core This changes the behavior for subclasses of Array. Should the other cases also be modified in the same way? If I check the list I had in my blog (see the quiz at bottom of http://blog.marc-andre.ca/2009/05/schizo-ruby-puzzle.html ), the following (at least) are remaining: Sub = Class.new(Array) x = Sub.new (x * 2).class # => Sub x.flatten.class # => Sub x[0...0].class # => Sub ---------------------------------------- http://redmine.ruby-lang.org/issues/show/4136 ---------------------------------------- http://redmine.ruby-lang.org