This project is closed and read-only.
Actions
Backport #7843
closedA weird exception is raised when attempting to remove a "prepend"ed method
Backport #7843:
A weird exception is raised when attempting to remove a "prepend"ed method
Status:
Closed
Assignee:
Description
Hello,
module P
def m; puts "P"; super; end
end
class A
def m; puts "A"; end
prepend P
remove_method :m
#=> undefined method `method_removed' for #<A:0x007f9e1e825618>
end
Is this intentional?
--
Yusuke Endoh mame@tsg.ne.jp
Actions