APIdock / Ruby
/
method

platform_support

ruby latest stable - Class: FileUtils ::Entry_
platform_support()
public

No documentation available.

# File lib/fileutils.rb, line 1347
 def platform_support
 return yield unless fu_windows?
 first_time_p = true
 begin
 yield
 rescue Errno::ENOENT
 raise
 rescue => err
 if first_time_p
 first_time_p = false
 begin
 File.chmod 0700, path() # Windows does not have symlink
 retry
 rescue SystemCallError
 end
 end
 raise err
 end
 end

AltStyle によって変換されたページ (->オリジナル) /