Ruby interview question

nothing difficult