The code in Listing 3 is the result of using Extract Superclass refactoring.
清单3中的代码是使用Extract Superclass重构的结果。
The dialog box that displays is similar to the Extract Interface dialog box and allows you to name the new superclass and select the methods and fields that will be put in the superclass.
一个与ExtractInterface相似的对话框会出现,可以在这个对话框中给这个新的超类命名并选择要放入这个超类的方法和字段。
RubyMine 2.0 adds several new refactorings, such as Extract Module/Superclass, Introduce Variable/Constant/Field, Inline Variable and Pull Up/Push Down Members.
RubyMine 2.0加入了一些新的重构,例如抽取模块/超类,引入变量/常数/Field,内联变量以及取出/放入成员。
RubyMine 2.0 adds several new refactorings, such as Extract Module/Superclass, Introduce Variable/Constant/Field, Inline Variable and Pull Up/Push Down Members.
RubyMine 2.0加入了一些新的重构,例如抽取模块/超类,引入变量/常数/Field,内联变量以及取出/放入成员。
应用推荐