Skip to content

Commit 481a9c1

Browse files
committed
[DOC] Tweaks for StringIO#internal_encoding
1 parent 3562c34 commit 481a9c1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ext/stringio/stringio.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2056,10 +2056,9 @@ strio_external_encoding(VALUE self)
20562056

20572057
/*
20582058
* call-seq:
2059-
* strio.internal_encoding => encoding
2059+
* internal_encoding -> nil
20602060
*
2061-
* Returns the Encoding of the internal string if conversion is
2062-
* specified. Otherwise returns +nil+.
2061+
* Returns +nil+; for compatibility with IO.
20632062
*/
20642063

20652064
static VALUE

0 commit comments

Comments
 (0)