summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorBurdette Lamar <BurdetteLamar@Yahoo.com>2022-10-19 10:34:51 -0500
committerGitHub <noreply@github.com>2022-10-19 10:34:51 -0500
commitbc939d293768acf9a21568ebe738b8fe5981038f (patch)
tree14b089e59d3f8170eb20f9e26267d2c2ddb92788 /file.c
parentc32180d5ceee28d035db8ce1a7e9973238a4553e (diff)
downloadruby-bc939d293768acf9a21568ebe738b8fe5981038f.tar.gz
[DOC] More about line number (#6582)
Diffstat (limited to 'file.c')
-rw-r--r--file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/file.c b/file.c
index 5e23bc98f3..efd15ea8a1 100644
--- a/file.c
+++ b/file.c
@@ -7037,7 +7037,7 @@ const char ruby_null_device[] =
* f.pos = 800
* f.read # => ""
*
- * ==== Data Mode
+ * ==== \Data Mode
*
* To specify whether data is to be treated as text or as binary data,
* either of the following may be suffixed to any of the string read/write modes
@@ -7106,7 +7106,7 @@ const char ruby_null_device[] =
* - +File::CREAT+: Create file if it does not exist.
* - +File::EXCL+: Raise an exception if +File::CREAT+ is given and the file exists.
*
- * === Data Mode Specified as an \Integer
+ * === \Data Mode Specified as an \Integer
*
* Data mode cannot be specified as an integer.
* When the stream access mode is given as an integer,
@@ -7211,7 +7211,7 @@ const char ruby_null_device[] =
* f.chmod(0644)
* f.chmod(0444)
*
- * == \File Constants
+ * == \File \Constants
*
* Various constants for use in \File and \IO methods
* may be found in module File::Constants;