зеркало из https://github.com/github/ruby.git
[ruby/fileutils] Update lib/fileutils.rb
https://github.com/ruby/fileutils/commit/4771925fee Co-authored-by: Peter Zhu <peter@peterzhu.ca>
This commit is contained in:
Родитель
dbca60c58d
Коммит
019169346a
|
@ -314,7 +314,7 @@ module FileUtils
|
|||
# returns +list+.
|
||||
#
|
||||
# With no keyword arguments, removes the directory at each +path+ in +list+,
|
||||
# by calling: <tt>Dir.rmdir(path, mode)</tt>;
|
||||
# by calling: <tt>Dir.rmdir(path)</tt>;
|
||||
# see {Dir.rmdir}[https://docs.ruby-lang.org/en/master/Dir.html#method-c-rmdir]:
|
||||
#
|
||||
# FileUtils.rmdir(%w[tmp0/tmp1 tmp2/tmp3]) # => ["tmp0/tmp1", "tmp2/tmp3"]
|
||||
|
|
Загрузка…
Ссылка в новой задаче