From: Eric Hodel Date: 2011-07-09T09:29:43+09:00 Subject: [ruby-core:37905] [Ruby 1.9 - Feature #4865] Documentation of FileUtils is very unclear on how errors are handled Issue #4865 has been updated by Eric Hodel. Assignee deleted (Eric Hodel) I do not have the experience to document the error handling of FileUtils. Assigning to nobody as there appears to be no FileUtils maintainer at this time. ---------------------------------------- Feature #4865: Documentation of FileUtils is very unclear on how errors are handled http://redmine.ruby-lang.org/issues/4865 Author: x3ro _ Status: Open Priority: Normal Assignee: 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://redmine.ruby-lang.org