From: "Iñaki Baz Castillo" Date: 2012-07-10T07:17:34+09:00 Subject: Re: Lambdaification of Method Calls 2012/7/10 Iñaki Baz Castillo : > 2012/7/9 Robert Klemme : >> class Object >> def to_lambda(method, *a) >> lambda {|*b| send(method, *a, *b)} >> end >> end >> >> With that we can do >> >> irb(main):015:0> l = s.to_lambda(:<<, "") > > Hi, what is "s" in this code? Ok, sorry, "s" is any object. The code seems indeed useful. What about a gem "lambdarize"? :) -- Iñaki Baz Castillo