On Tue, Jun 25, 2013 at 9:44 AM, Hans Mackowiak <lists / ruby-forum.com> wrot=
e:
> "Jes=FAs Gabriel y Gal=E1n" <jgabrielygalan / gmail.com> wrote in post
> #1113505:
>
>> 2.- More functional styles:
>>
>> 2.0.0p195 :029 > a.inject(0) {|total, x| total + x}
>>  =3D> 10
>> 2.0.0p195 :030 > a.inject(:+)
>>  =3D> 10
>>
>
> there is a difference:
>
> [].inject(0) {|total, x| total + x}
>   =3D> 0
> [].inject(:+)
>  =3D> nil

Good catch !

Jesus.