class RuboCop::Cop::Layout::EmptyLinesAroundExceptionHandlingKeywords

def keyword_locations(node)

def keyword_locations(node)
  return [] unless node
  case node.type
  when :rescue
    keyword_locations_in_rescue(node)
  when :ensure
    keyword_locations_in_ensure(node)
  else
    []
  end
end