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/