rb2 solution7 - symbol to proc