>>>>> "D" == Dennis Sutch <dennis / sutch.com> writes:

D> The entry for Time#to_a at
D> http://www.rubycentral.com/book/ref_c_time.html#to_a states:

D>     The ten elements can be passed directly to Time::utc or Time::local to
D> create a new Time.

D> But when I it, this is what happens:

D> % ruby -e "Time.utc(Time.now.to_a)"

 Write it

   ruby -e "Time.utc(*Time.now.to_a)"
  

 Time.utc(Time.now.to_a)  give only one element (an array) to Time::utc
 Time.utc(*Time.now.to_a) give 10 elements to Time::utc


Guy Decoux