R
Rebhan, Gilbert
Hi,
i have a problem with File.open =3D
File.open(SRCDIR<<'/'<<Dir.entries(SRCDIR).sort[2]<<'/foobar.TXT') do
|f|
mymethod(x)
end
gives me =3D
Not a directory - ... (Errno::ENOTDIR)
=09
How to get the Dirname Dir.entries(SRCDIR).sort[2] into the string
for method File.open ?
Gilbert
i have a problem with File.open =3D
File.open(SRCDIR<<'/'<<Dir.entries(SRCDIR).sort[2]<<'/foobar.TXT') do
|f|
mymethod(x)
end
gives me =3D
Not a directory - ... (Errno::ENOTDIR)
=09
How to get the Dirname Dir.entries(SRCDIR).sort[2] into the string
for method File.open ?
Gilbert