Eliminate a ruby block