well
system("mv #{file}")
is also possible ,)
include FileUtils isnt needed so that should reduce your
LOC by -1
Doesnt FileUtils have
mv(src, dest, options)
?
Anyway, why not this?
http://www.ruby-doc.org/core/classes/FileUtils.html#M002613
--
Posted via http://www.ruby-forum.com/.