Actions
Bug #8045
closedObject#singleton_methods incompatible with prepend
Description
Similar to #8044, although implementation is independent:
o=Object.new
def o.foo; end
o.singleton_methods(false) # => [:foo], ok
o.singleton_class.send :prepend, Enumerable
o.singleton_methods(false) # => [], should be [:foo]
Actions
Like0
Like0