RuboCop extension for method sorting according to call order.

ast rubocop ruby
1 Open Issue Need Help Last updated: Jan 20, 2026

Open Issues Need Help

View All on GitHub

AI Summary: A user reports that a RuboCop cop's auto-correction incorrectly removes a `helper_method` declaration line. This issue specifically occurs when the `helper_method` is defined within a `private` block, even though the cop correctly reorders other methods. The user expects the cop not to break existing functionality by removing valid code.

Complexity: 3/5
bug good first issue invalid

RuboCop extension for method sorting according to call order.

Ruby
#ast#rubocop#ruby