summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYudai Takada <t.yudai92@gmail.com>2024-12-22 17:51:09 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-12-26 10:27:24 +0900
commitb7690c58b94f77e81bc1b099ca93e47160304a46 (patch)
tree8f317f1f2b31740f616c0e3af006e4330657926e
parent6406ac4d70d3288fe7bfcc75312077ace5d6ae58 (diff)
[ruby/strscan] [DOC] Fix typo in documentation
(https://github.com/ruby/strscan/pull/129) s/begining/beginning/ https://github.com/ruby/strscan/commit/734b823463
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12469
-rw-r--r--doc/strscan/strscan.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/strscan/strscan.md b/doc/strscan/strscan.md
index dea87e0d43..1211a687c2 100644
--- a/doc/strscan/strscan.md
+++ b/doc/strscan/strscan.md
@@ -112,11 +112,11 @@ and a zero-based <i>character position</i>.
Each of these methods explicitly sets positions:
-| Method | Effect |
-|--------------------------|----------------------------------------------------------|
-| #reset | Sets both positions to zero (begining of stored string). |
-| #terminate | Sets both positions to the end of the stored string. |
-| #pos=(new_byte_position) | Sets byte position; adjusts character position. |
+| Method | Effect |
+|--------------------------|-----------------------------------------------------------|
+| #reset | Sets both positions to zero (beginning of stored string). |
+| #terminate | Sets both positions to the end of the stored string. |
+| #pos=(new_byte_position) | Sets byte position; adjusts character position. |
### Byte Position (Position)