We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1b4604 commit 00a988aCopy full SHA for 00a988a
1 file changed
doc/stringio/read.rdoc
@@ -25,9 +25,9 @@ returns a new string containing the bytes read, or +nil+ if none:
25
russian.b
26
# => "\xD0\x9F\xD1\x80\xD0\xB8\xD0\xB2\xD0\xB5\xD1\x82"
27
strio = StringIO.new(russian)
28
- strio.read(6) # => "\xD0\x9F\xD1\x80\xD0\xB8"
29
- strio.read(6) # => "\xD0\xB2\xD0\xB5\xD1\x82"
30
- strio.read(6) # => nil
+ strio.read(6) # => "\xD0\x9F\xD1\x80\xD0\xB8"
+ strio.read(6) # => "\xD0\xB2\xD0\xB5\xD1\x82"
+ strio.read(6) # => nil
31
32
japanese = 'こんにちは'
33
japanese.b
0 commit comments