From: Ruby Freak Date: 2008-06-28T08:47:39+09:00 Subject: Re: Explanation of overriding method with lambda > class Symbol > def to_proc > lambda { |x| x.send(self) } > end > end > > %w[one two three].collect(&:upcase) # calls :upcase.to_proc > :upcase.to_proc returns lambda { |x| x.send(:upcase) } > > I don't quite understand when I see the definition of Symbol#to_proc > with *args. Where might these args come from? Maybe I'm just not using > Symbol#to_proc correctly. That is/was exactly my problem, I don't understand the *args part. Thanks yossef. The override you wrote makes sense. I give up on *args