@@ -192,8 +192,6 @@ def self.private_module_function(name) #:nodoc:
192
192
#
193
193
# FileUtils.pwd # => "/rdoc/fileutils"
194
194
#
195
- # FileUtils.getwd is an alias for FileUtils.pwd.
196
- #
197
195
# Related: FileUtils.cd.
198
196
#
199
197
def pwd
@@ -235,8 +233,6 @@ def pwd
235
233
# cd ..
236
234
# cd fileutils
237
235
#
238
- # FileUtils.chdir is an alias for FileUtils.cd.
239
- #
240
236
# Related: FileUtils.pwd.
241
237
#
242
238
def cd ( dir , verbose : nil , &block ) # :yield: dir
@@ -515,8 +511,6 @@ def rmdir(list, parents: nil, noop: nil, verbose: nil)
515
511
# Raises an exception if +dest+ is the path to an existing file
516
512
# and keyword argument +force+ is not +true+.
517
513
#
518
- # FileUtils#link is an alias for FileUtils#ln.
519
- #
520
514
# Related: FileUtils.link_entry (has different options).
521
515
#
522
516
def ln ( src , dest , force : nil , noop : nil , verbose : nil )
@@ -707,8 +701,6 @@ def cp_lr(src, dest, noop: nil, verbose: nil,
707
701
# ln -sf src2.txt dest2.txt
708
702
# ln -s srcdir3/src0.txt srcdir3/src1.txt destdir3
709
703
#
710
- # FileUtils.symlink is an alias for FileUtils.ln_s.
711
- #
712
704
# Related: FileUtils.ln_sf.
713
705
#
714
706
def ln_s ( src , dest , force : nil , relative : false , target_directory : true , noop : nil , verbose : nil )
@@ -876,8 +868,6 @@ def link_entry(src, dest, dereference_root = false, remove_destination = false)
876
868
#
877
869
# Raises an exception if +src+ is a directory.
878
870
#
879
- # FileUtils.copy is an alias for FileUtils.cp.
880
- #
881
871
# Related: {methods for copying}[rdoc-ref:FileUtils@Copying].
882
872
#
883
873
def cp ( src , dest , preserve : nil , noop : nil , verbose : nil )
@@ -1164,8 +1154,6 @@ def copy_stream(src, dest)
1164
1154
# mv src0 dest0
1165
1155
# mv src1.txt src1 dest1
1166
1156
#
1167
- # FileUtils.move is an alias for FileUtils.mv.
1168
- #
1169
1157
def mv ( src , dest , force : nil , noop : nil , verbose : nil , secure : nil )
1170
1158
fu_output_message "mv#{ force ? ' -f' : '' } #{ [ src , dest ] . flatten . join ' ' } " if verbose
1171
1159
return if noop
@@ -1223,8 +1211,6 @@ def mv(src, dest, force: nil, noop: nil, verbose: nil, secure: nil)
1223
1211
#
1224
1212
# rm src0.dat src0.txt
1225
1213
#
1226
- # FileUtils.remove is an alias for FileUtils.rm.
1227
- #
1228
1214
# Related: {methods for deleting}[rdoc-ref:FileUtils@Deleting].
1229
1215
#
1230
1216
def rm ( list , force : nil , noop : nil , verbose : nil )
@@ -1250,8 +1236,6 @@ def rm(list, force: nil, noop: nil, verbose: nil)
1250
1236
#
1251
1237
# See FileUtils.rm for keyword arguments.
1252
1238
#
1253
- # FileUtils.safe_unlink is an alias for FileUtils.rm_f.
1254
- #
1255
1239
# Related: {methods for deleting}[rdoc-ref:FileUtils@Deleting].
1256
1240
#
1257
1241
def rm_f ( list , noop : nil , verbose : nil )
@@ -1339,8 +1323,6 @@ def rm_r(list, force: nil, noop: nil, verbose: nil, secure: nil)
1339
1323
#
1340
1324
# See FileUtils.rm_r for keyword arguments.
1341
1325
#
1342
- # FileUtils.rmtree is an alias for FileUtils.rm_rf.
1343
- #
1344
1326
# Related: {methods for deleting}[rdoc-ref:FileUtils@Deleting].
1345
1327
#
1346
1328
def rm_rf ( list , noop : nil , verbose : nil , secure : nil )
0 commit comments