Project

General

Profile

Bug #1418

Updated by jeremyevans0 (Jeremy Evans) 3 months ago

=begin

This was fixed for Array#join, see [ruby-dev:37019].

$ ruby1.8 -v
ruby 1.8.8dev (2009-04-28 revision 23305) [i386-darwin9.6.0]

$ ruby1.8 file.rb
"a/b"
"a/b/a/b/[...]"

$ cat file.rb
a = ["a", "b"]
p File.join(a)
a << a
p File.join(a)

Behavior on 1.8.6, 1.8.7, 1.8.8 and 1.9 is the same.

=end

Back