Florian Gro? wrote:
> If you use this definition instead:
>
>   class Symbol
>     def to_proc()
>       lambda { |obj, *args| obj.send(self, *args) }
>     end
>   end
> 
> You can also do this:
>
>   (1 .. 5).inject(&:+) # => 15
>   (1 .. 5).inject(&:*) # => 120

This has got to be the most obfuscated way to write 2 * 3:

   [2, 3].inject(&:*)  => 6


Daniel