RubyMine
 
Get RubyMine

Inline

Last modified: 04 December 2024

    The Inline refactoring lets you reverse the extract refactoring for variables and methods.

    The animation below demonstrates how to inline a variable to a string:

    https://resources.jetbrains.com/help/img/idea/2024.3/rm_refactoring_inline_variable.png
    Gif

    To inline a variable/method: