@@ -800,13 +800,13 @@ def ln_sr(src, dest, target_directory: true, force: nil, noop: nil, verbose: nil
800
800
# File.file?('dest1/dir1/t2.txt') # => true
801
801
# File.file?('dest1/dir1/t3.txt') # => true
802
802
#
803
- # Keyword arguments:
803
+ # Optional arguments:
804
804
#
805
- # - <tt> dereference_root: true</tt> - dereferences +src+ if it is a symbolic link.
806
- # - <tt> remove_destination: true</tt> - removes +dest+ before creating links.
805
+ # - + dereference_root+ - dereferences +src+ if it is a symbolic link (+false+ by default) .
806
+ # - + remove_destination+ - removes +dest+ before creating links (+false+ by default) .
807
807
#
808
808
# Raises an exception if +dest+ is the path to an existing file or directory
809
- # and keyword argument <tt> remove_destination: true</tt> is not given.
809
+ # and optional argument + remove_destination+ is not given.
810
810
#
811
811
# Related: FileUtils.ln (has different options).
812
812
#
@@ -1029,12 +1029,12 @@ def cp_r(src, dest, preserve: nil, noop: nil, verbose: nil,
1029
1029
# directories, and symbolic links;
1030
1030
# other file types (FIFO streams, device files, etc.) are not supported.
1031
1031
#
1032
- # Keyword arguments:
1032
+ # Optional arguments:
1033
1033
#
1034
- # - <tt> dereference_root: true</tt> - if +src+ is a symbolic link,
1035
- # follows the link.
1036
- # - <tt> preserve: true</tt> - preserves file times.
1037
- # - <tt> remove_destination: true</tt> - removes +dest+ before copying files.
1034
+ # - + dereference_root+ - if +src+ is a symbolic link,
1035
+ # follows the link (+false+ by default) .
1036
+ # - + preserve+ - preserves file times (+false+ by default) .
1037
+ # - + remove_destination+ - removes +dest+ before copying files (+false+ by default) .
1038
1038
#
1039
1039
# Related: {methods for copying}[rdoc-ref:FileUtils@Copying].
1040
1040
#
@@ -1065,12 +1065,12 @@ def copy_entry(src, dest, preserve = false, dereference_root = false, remove_des
1065
1065
# FileUtils.copy_file('src0.txt', 'dest0.txt')
1066
1066
# File.file?('dest0.txt') # => true
1067
1067
#
1068
- # Keyword arguments:
1068
+ # Optional arguments:
1069
1069
#
1070
- # - <tt> dereference: false</tt> - if +src+ is a symbolic link,
1071
- # does not follow the link.
1072
- # - <tt> preserve: true</tt> - preserves file times.
1073
- # - <tt> remove_destination: true</tt> - removes +dest+ before copying files.
1070
+ # - + dereference+ - if +src+ is a symbolic link,
1071
+ # follows the link (+true+ by default) .
1072
+ # - + preserve+ - preserves file times (+false+ by default) .
1073
+ # - + remove_destination+ - removes +dest+ before copying files (+false+ by default) .
1074
1074
#
1075
1075
# Related: {methods for copying}[rdoc-ref:FileUtils@Copying].
1076
1076
#
0 commit comments