D
Daniel Berger
Hi,
I need a quick sanity check.
Excepting potential backslashes for the moment, aren't these two
identical?
File.dirname(path).split('/')[0..-2].join('/')
File.dirname(File.dirname(path))
Dan
I need a quick sanity check.
Excepting potential backslashes for the moment, aren't these two
identical?
File.dirname(path).split('/')[0..-2].join('/')
File.dirname(File.dirname(path))
Dan