We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bef6541 commit 17ae4daCopy full SHA for 17ae4da
ext/stringio/stringio.c
@@ -514,7 +514,7 @@ strio_get_string(VALUE self)
514
* call-seq:
515
* string = other_string -> other_string
516
*
517
- * Assigns the underlying string as +other_string+, and sets position to zero;
+ * Replaces the stored string with +other_string+, and sets the position to zero;
518
* returns +other_string+:
519
520
* StringIO.open('foo') do |strio|
@@ -528,7 +528,7 @@ strio_get_string(VALUE self)
528
* "foo"
529
* "bar"
530
531
- * Related: StringIO#string (returns the underlying string).
+ * Related: StringIO#string (returns the stored string).
532
*/
533
static VALUE
534
strio_set_string(VALUE self, VALUE string)
0 commit comments