[ruby/strscan] [DOC] Fix typo in documentation

(https://github.com/ruby/strscan/pull/129)

s/begining/beginning/

https://github.com/ruby/strscan/commit/734b823463
This commit is contained in:
Yudai Takada 2024-12-22 17:51:09 +09:00 committed by Hiroshi SHIBATA
parent 6406ac4d70
commit b7690c58b9
Notes: git 2024-12-26 01:27:45 +00:00

View File

@ -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)