class Shoulda::Matchers::Doublespeak::Double
def restore_original_method
def restore_original_method original_method = world.original_method_for(klass, method_name) klass.__send__(:remove_method, method_name) klass.__send__(:define_method, method_name) do |*args, &block| original_method.bind(self).call(*args, &block) end end