RubyMine 8.0 Help

Extract Method Dialog

Refactor | Extract Method

NameIn this text box, specify the name of the function or method to be generated on the basis of the selected source code.
Parameters In this area, select parameters to be passed to the new method/function.
Move Up/DownUse these buttons to change the order of the parameters.
Signature previewIn this read-only field, view the declaration of the new method.
Output variablesThis read-only field shows local variables or parameters that have been changed within the method body, and will be returned by the method.

See Also


Last modified: 5 November 2015