require_relative'../model_helpers'moduleRuboCopmoduleCop# Cop that prevents the use of `in_batches`classInBatches<RuboCop::Cop::CopMSG='Do not use `in_batches`, use `each_batch` from the EachBatch module instead'.freezedefon_send(node)returnunlessnode.children[1]==:in_batchesadd_offense(node,:selector)endendendend