Replacing Ruby 1.9-only dagger ('->') syntax with 'lambda' keyword