Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のようなファイルをコピーします。
require 'fileutils' FileUtils.copy(source_file, dest_file)
この操作が成功したかどうか、失敗した場合は何がエラーだったのかを知りたいです。
スローできる例外はどこにありますか?
文書化されていないため、ソースを確認する必要があります。