RubyMine
 
Get RubyMine

Extract method

Last modified: 14 February 2025

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

To extract a method: