From: "marcandre (Marc-Andre Lafortune)" Date: 2013-03-08T09:49:36+09:00 Subject: [ruby-core:53207] [ruby-trunk - Bug #8044][Open] Object#methods incompatible with prepend Issue #8044 has been reported by marcandre (Marc-Andre Lafortune). ---------------------------------------- Bug #8044: Object#methods incompatible with prepend https://bugs.ruby-lang.org/issues/8044 Author: marcandre (Marc-Andre Lafortune) Status: Open Priority: Normal Assignee: Category: core Target version: current: 2.1.0 ruby -v: r39608 Object#methods incompatible with prepend: o = Object.new def o.foo; end o.methods(false) # => [:foo], ok o.singleton_class.send :prepend, Enumerable o.methods(false) # => [], should be [:foo] -- http://bugs.ruby-lang.org/