Issue #4865 has been updated by Ryan Davis.

Assignee set to Eric Hodel


----------------------------------------
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: Eric Hodel
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