class RuboCop::Cop::Style::ParallelAssignment::RescueCorrector
def correction
def correction _node, rescue_clause = *node.parent _, _, rescue_result = *rescue_clause # If the parallel assignment uses a rescue modifier and it is the # only contents of a method, then we want to make use of the # implicit begin if node.parent.parent && node.parent.parent.def_type? super + def_correction(rescue_result) else begin_correction(rescue_result) end end