[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:
parent
6406ac4d70
commit
b7690c58b9
Notes:
git
2024-12-26 01:27:45 +00:00
@ -112,11 +112,11 @@ and a zero-based <i>character position</i>.
|
|||||||
|
|
||||||
Each of these methods explicitly sets positions:
|
Each of these methods explicitly sets positions:
|
||||||
|
|
||||||
| Method | Effect |
|
| Method | Effect |
|
||||||
|--------------------------|----------------------------------------------------------|
|
|--------------------------|-----------------------------------------------------------|
|
||||||
| #reset | Sets both positions to zero (begining of stored string). |
|
| #reset | Sets both positions to zero (beginning of stored string). |
|
||||||
| #terminate | Sets both positions to the end of the stored string. |
|
| #terminate | Sets both positions to the end of the stored string. |
|
||||||
| #pos=(new_byte_position) | Sets byte position; adjusts character position. |
|
| #pos=(new_byte_position) | Sets byte position; adjusts character position. |
|
||||||
|
|
||||||
### Byte Position (Position)
|
### Byte Position (Position)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user