Replace lambda with proc since former requires block parameter in ruby 1.9/2.0 when instance_eval'd