RubyMine
 
Get RubyMine

Extract method

Last modified: 05 December 2024

The Extract Method refactoring allows you to extract a specified code fragment into its own method.

To extract a method: