2009-09-16 rubyのlambda関数 Ruby makesureNum = lambda{|a,b| a*b > 1 ? "2以上" : "1以下" } makesureNum[1,2] =>2以上 makesureNum[3,0] =>1以下 schemeを思い出す