module RuboCop::AST::Traversal::CallbackCompiler
def body(signature, prelude)
def body(signature, prelude) signature .map.with_index do |arg, i| TEMPLATE[arg].gsub('%<index>i', i.to_s) end .unshift(prelude) .join("\n") end
def body(signature, prelude) signature .map.with_index do |arg, i| TEMPLATE[arg].gsub('%<index>i', i.to_s) end .unshift(prelude) .join("\n") end