Building Lambda Functions with Ruby