Another non-solution in ruby using proc