Search code examples
rubyrubymineautomated-refactoring

Move a method between classes using RubyMine


How do (can I?) I move a method from one class to another using RubyMine?

I tried right-clicking on the method name, selecting Refactor, and Move ..., but that gives me Move file path/to/file.rb To directory:.


Solution

  • Move method refactoring is not supported yet, please vote for this feature request.