RubyMine
 
Get RubyMine

Extract superclass

Last modified: 08 October 2024

The Extract Superclass refactoring allows you to extract certain members from a selected class into a new base class. The original class will be inherited from the created base class.

To extract a superclass: