aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorHerwin <herwinw@herwinw.nl>2023-10-04 16:02:08 +0200
committerGitHub <noreply@github.com>2023-10-04 23:02:08 +0900
commitcd0b8d2441ac5cdd38116a3586389656151611ac (patch)
tree8b4dec7d75fa8048dc247cb5e31ba0e391c8f9e9 /io.c
parentb43cc51dcad9859ea6c54cb4f03105c8511582de (diff)
downloadruby-cd0b8d2441ac5cdd38116a3586389656151611ac.tar.gz
[DOC] Fix typo in docs of IO: `#.` -> `$.`
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index dd42423c25..f4698a2cd5 100644
--- a/io.c
+++ b/io.c
@@ -15059,7 +15059,7 @@ set_LAST_READ_LINE(VALUE val, ID _x, VALUE *_y)
* # => 41
* f.close
*
- * - When a stream is read, <tt>#.</tt> is set to the line number for that stream:
+ * - When a stream is read, <tt>$.</tt> is set to the line number for that stream:
*
* f0 = File.new('t.txt')
* f1 = File.new('t.dat')