Uh oh!
There was an error while loading. Please reload this page.
[DOC] Tweaks for StringIO#getc - #189
Conversation
| strio.getc # => "\x93" | ||
| Related: StringIO.getbyte. | ||
| Related: #each_char, #putc, #ungetc. |
There was a problem hiding this comment.
Why is getbyte removed from related methods?
There was a problem hiding this comment.
Why is
getbyteremoved from related methods?
The Ruby doc guide suggests no more than three relateds (though of course that doc does not govern here). I thought the three other char methods more important than the byte method.
There was a problem hiding this comment.
Oh, I didn't know the guide.
I think that #getbyte (similar), #ungetc (opposite) and #putc (opposite) are most related 3 methods because they focus on one operation like #getc does. #each_char (iterator variant) is less related than them because it focus on multiple targets.
Uh oh!
There was an error while loading. Please reload this page.
No description provided.