문제

I copy a file like this:

require 'fileutils'
FileUtils.copy(source_file, dest_file)

I would like to know if this operation succeeded, and if not, what was the error.

Where could I find the exceptions that can be thrown?

도움이 되었습니까?

해결책

Because it is not documented, you have to check the source.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top