aboutsummaryrefslogtreecommitdiffstats
path: root/ext/stringio
diff options
context:
space:
mode:
Diffstat (limited to 'ext/stringio')
-rw-r--r--ext/stringio/stringio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/stringio/stringio.c b/ext/stringio/stringio.c
index 3a59226628..c57b40fd93 100644
--- a/ext/stringio/stringio.c
+++ b/ext/stringio/stringio.c
@@ -1501,7 +1501,7 @@ strio_set_encoding(int argc, VALUE *argv, VALUE self)
*
* io = StringIO.new
* io.puts "Hello World"
- * io.string #=> "Hello World"
+ * io.string #=> "Hello World\n"
*/
void
Init_stringio(void)