On 8/8/06, Simen Edvardsen <toalett / gmail.com> wrote:
> On 8/8/06, Trans <transfire / gmail.com> 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.