ActionsLike0
Bug #8044
closedObject#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]
Added by nobu (Nobuyoshi Nakada) about 12 years ago
ActionsLike0
class.c: from the origin class
class. [ruby-core:53207] [Bug #8044]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e