Pergunta de entrevista da empresa VueOps

Q: Implement custom map method of Ruby Array class, using Proc.