From: Jan Svitok Date: 2006-08-08T20:05:29+09:00 Subject: Re: File.join : can't convert Fixnum into String ? On 8/8/06, Simen Edvardsen wrote: > On 8/8/06, Trans wrote: > > Where's the Fixnum? > File.join doesn't use Array#to_s. See: Seems like 1. File.join is recursive on arrays. i.e. your example is [almost] equivalent to File.join([1,2,3], 'index.rb') and that is equivalent to File.join(File.join(1,2,3), 'index.rb') 2. File.join doesn't do any type conversions. I.e. it won't call your to_s.