vendor/gems/flexmock-0.8.5/lib/flexmock/partial_mock.rb
def flexmock_teardown
      if ! detached?
        @methods_proxied.each do |method_name|
          remove_current_method(method_name)
          restore_original_definition(method_name)
        end
        @obj.instance_variable_set("@flexmock_proxy", nil)
        @obj = nil
      end
    end
# Remove all traces of the mocking framework from the existing object.
Remove all traces of the mocking framework from the existing object.
Remove all traces of the mocking framework from the existing object .
def flexmock_teardown
      if ! detached?
        @methods_proxied.each do |method_name|
          remove_current_method(method_name)
          restore_original_definition(method_name)
        end
        @obj.instance_variable_set("@flexmock_proxy", nil)
        @obj = nil
      end
    end
def flexmock_teardown if ! detached? @methods_proxied . each do | method_name | remove_current_method ( method_name ) restore_original_definition ( method_name ) end @obj . instance_variable_set ( "@flexmock_proxy" , nil ) @obj = nil end end
Remove all traces of the mocking framework from the existing object.
Remove all traces of the mocking framework from the existing object .