Actions
Bug #8044
closedObject#methods incompatible with prepend
Bug #8044:
Object#methods incompatible with prepend
Description
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]
Actions