class RuboCop::Cop::ForToEachCorrector

def end_range

def end_range
  if for_node.do?
    keyword_begin.end
  else
    collection_end.end
  end
end