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]
Updated by nobu (Nobuyoshi Nakada) over 11 years ago
- Status changed from Open to Closed
Actions
Like0
Like0