Skip to content

Commit 5eeb61d

Browse files
[DOC] Tweaks for StringIO#internal_encoding (#166)
1 parent a126fe2 commit 5eeb61d

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
@@ -2071,10 +2071,9 @@ strio_external_encoding(VALUE self)
20712071

20722072
/*
20732073
* call-seq:
2074-
* strio.internal_encoding => encoding
2074+
* internal_encoding -> nil
20752075
*
2076-
* Returns the Encoding of the internal string if conversion is
2077-
* specified. Otherwise returns +nil+.
2076+
* Returns +nil+; for compatibility with IO.
20782077
*/
20792078

20802079
static VALUE

0 commit comments

Comments
 (0)