# Nil.to\_splat

**URL:** <https://www.ruby-forum.com/t/nil-to-splat/108656>\
**Category:** Development\
**Created:** [July 5, 2007, 6:42pm UTC](https://www.ruby-forum.com/t/nil-to-splat/108656 "2007-07-05T18:42:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tanaka\_A](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/c67d28/32.png) [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Post date:** [July 5, 2007, 6:42pm UTC](https://www.ruby-forum.com/t/nil-to-splat/108656/1 "2007-07-05T18:42:48Z")

</div>

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]
