class Gitlab::Styles::Rubocop::Cop::InBatches
Cop
that prevents the use of `in_batches`
Constants
- MSG
Public Instance Methods
on_send(node)
click to toggle source
# File lib/gitlab/styles/rubocop/cop/in_batches.rb, line 13 def on_send(node) return unless node.children[1] == :in_batches add_offense(node, location: :selector) end