Use Ruby 1.9 compatible lambda syntax