From: "marcandre (Marc-Andre Lafortune)" Date: 2013-05-02T22:07:47+09:00 Subject: [ruby-core:54742] [ruby-trunk - Bug #8357] Module#prepend breaks comparison operator Issue #8357 has been updated by marcandre (Marc-Andre Lafortune). Priority changed from Normal to Urgent Ouch. === is also broken: Enumerable.send :prepend, Module.new Enumerable === [] # => false, should be true ---------------------------------------- Bug #8357: Module#prepend breaks comparison operator https://bugs.ruby-lang.org/issues/8357#change-39083 Author: skwosh (Alex Goldsmith) Status: Open Priority: Urgent Assignee: Category: Target version: ruby -v: ruby 2.1.0dev (2013-05-02) [x86_64-darwin12.3.0] Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN Array < Enumerable # => true Enumerable.send :prepend, Module.new Array < Enumerable # => nil Array.ancestors.include? Enumerable # => true Same thing happens in 2.0.0-p0. Possibly similar to what's happening in: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/53106 -- http://bugs.ruby-lang.org/