Nil.to_splat


#1

e$B0J2<$N$h$&$K!“e(Bnil.to_splat
e$B$r:FDj5A$7$F$b8z$+$J$$$3$H$,$”$j$^$9!#e(B

% ./ruby -ve ‘def nil.to_splat() [3423] end; p [0,*nil]’
ruby 1.9.0 (2007-07-05 patchlevel 0) [i686-linux]
-e:1: warning: method redefined; discarding old to_splat
[0]

e$B8z$/$3$H$b$"$j$^$9!#e(B

% ./ruby -ve ’
def nil.to_splat() [3423] end
p [*nil]’
ruby 1.9.0 (2007-07-05 patchlevel 0) [i686-linux]
-e:2: warning: method redefined; discarding old to_splat
[3423]