Pregunta de entrevista de Altimetrik

what is compact method in ruby