Minor, whitespace on last {} block. Also, per RSG don't nest {} blocks. So map should be do .. end block