*a = *nil


#1

*a = *nil e$B$Ge(B a e$B$,e(B [nil]
e$B$K$J$k$3$H$K5$$,$D$$$?$N$G$9$,!"$3$l$Ce(B
e$B$F$J$s$G$J$s$G$7$g$&e(B?

% ./ruby -ve ‘*a = *nil; *b = *[]; p a, b’
ruby 1.9.0 (2007-07-05 patchlevel 0) [i686-linux]
[nil]
[]

nil.to_splat e$B$Oe(B [] e$B$G$9$+$i!"e(B*a = *[]
e$B$HF1$8$K$J$k$O$:$@$H;We(B
e$B$&$N$G$9$,!#e(B


#2

e$B!!$5$5$@$G$9!#e(B

Tanaka A. wrote:

*a = *nil e$B$Ge(B a e$B$,e(B [nil] e$B$K$J$k$3$H$K5$$,$D$$$?$N$G$9$,!"$3$l$Ce(B
e$B$F$J$s$G$J$s$G$7$g$&e(B?

e$B!!%P%0$G$7$?!#e(B