From: "mame (Yusuke Endoh)" Date: 2012-04-23T22:42:06+09:00 Subject: [ruby-core:44553] [ruby-trunk - Feature #4865][Feedback] Documentation of FileUtils is very unclear on how errors are handled Issue #4865 has been updated by mame (Yusuke Endoh). Status changed from Assigned to Feedback Could you please create a draft? -- Yusuke Endoh ---------------------------------------- Feature #4865: Documentation of FileUtils is very unclear on how errors are handled https://bugs.ruby-lang.org/issues/4865#change-26104 Author: x3ro (x3ro _) Status: Feedback Priority: Normal Assignee: aamine (Minero Aoki) Category: DOC Target version: Documentation of FileUtils is very unclear on how errors are handled. Looking at the documentation at http://ruby-doc.org/stdlib/libdoc/fileutils/rdoc/classes/FileUtils.html on "cp_r" you can see that error handling isn't mentioned at all, and you can't see how errors are handled from the attached source either. I had to follow this path to finally find out how errors were handled: cp_r -> copy_entry -> Entry_.traverse -> preorder_traverse -- http://bugs.ruby-lang.org/