RubyMine 7.0.1 Web Help

Refactor | Extract Superclass


Item Description
Extract superclass from This read-only field displays the name of the class, from which a superclass should be extracted.
Superclass name In this text field, type the name of the target module.
Directory for new class In this text field, specify the path to the target directory, where the new class will be stored.

Tip

Use code completion while you type the path:

ruby_ExtractModule3.png

You can also click the ellipsis button, or press Shift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift EnterShift EnterShift EnterShift Enter, and select the desired path in the Select Path dialog box.

Members to form superclass This area displays the list of members detected in the original class. Select the check boxes next to the members to be included in the new superclass.

See Also

Procedures:

Web Resources: