Probably because I'd have expected g(1,2) to print
> 1
> [2]
> 1

and g(1,2,3,4,5) to print
> 1
> [2,3,4,5]
> 1

-- 
Posted via http://www.ruby-forum.com/.