Altimetrik Interview Question

what is compact method in ruby