Skip to content

Commit

Permalink
Do not check method order in modules for now
Browse files Browse the repository at this point in the history
A improved implementation will check for callbacks in
Rails `included do` concerns and maybe Ruby modules `self.included`
  • Loading branch information
jeromedalbert committed Nov 15, 2024
1 parent 25f3f41 commit bbd4243
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/rubocop/cop/obsession/method_order.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@ def on_class(class_node)
verify_private_methods_order
end

def on_module(module_node)
on_class(module_node)
end

private

def find_private_node
Expand Down

0 comments on commit bbd4243

Please sign in to comment.