1 2 3 4 5 6
class Module def remove_possible_method(method) remove_method(method) rescue NameError end end