system call in Ruby
- by Niklas
Ruby-help
Hi.
I'm a beginner in ruby and in programming as well and need help with system call for moving a file from source to destination like this:
system(mv "#{@SOURCE_DIR}/#{my_file} #{@DEST_DIR}/#{file}")
Is it possible to do this in ruby and which is the correct syntax?
Thx