vendor/gems/flexmock-0.8.5/lib/flexmock/partial_mock.rb
def restore_original_definition(method_name)
      method_def = @method_definitions[method_name]
      if method_def
        the_alias = new_name(method_name)
        sclass.class_eval do
          alias_method(method_name, the_alias)
        end
      end
    end
# Restore the original singleton defintion for method_name that
# was saved earlier.
Restore the original singleton defintion for method_name that
was saved earlier.
Restore the original singleton defintion for method_name that was saved earlier .
def restore_original_definition(method_name)
      method_def = @method_definitions[method_name]
      if method_def
        the_alias = new_name(method_name)
        sclass.class_eval do
          alias_method(method_name, the_alias)
        end
      end
    end
def restore_original_definition ( method_name ) method_def = @method_definitions [ method_name ] if method_def the_alias = new_name ( method_name ) sclass . class_eval do alias_method ( method_name , the_alias ) end end end
Restore the original singleton defintion for method_name that
was saved earlier.
Restore the original singleton defintion for method_name that was saved earlier .
method_name