From: Yukihiro Matsumoto Date: 2007-02-17T19:16:08+09:00 Subject: Re: ruby 1.9 splat in return statement, bug or feature? Hi, In message "Re: ruby 1.9 splat in return statement, bug or feature?" on Sat, 17 Feb 2007 12:36:20 +0900, Gary Wright writes: |What's going on with splat in 1.9? | |$ ruby -e 'def foo; return *[1]; end; p foo' |1 | |$ ruby-1.9 -e 'def foo; return *[1]; end; p foo' |[1] In 1.9, values (i.e. result of splat) are always represented by array, so that we won't confuse array as an value with array as values representation. matz.