summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/io.c b/io.c
index 4155796641..faec319a92 100644
--- a/io.c
+++ b/io.c
@@ -3214,7 +3214,7 @@ rb_io_gets(VALUE io)
* If IO contains multibyte characters byte then <code>gets(1)</code>
* returns character entirely:
*
- * # russian characters take 2 bytes
+ * # Russian characters take 2 bytes
* File.write("testfile", "\u{442 435 441 442}")
* File.open("testfile") {|f|f.gets(1)} #=> "\u0442"
* File.open("testfile") {|f|f.gets(2)} #=> "\u0442"
@@ -11845,7 +11845,7 @@ opt_i_get(ID id, VALUE *var)
* call-seq:
* ARGF.inplace_mode = ext -> ARGF
*
- * Sets the filename extension for inplace editing mode to the given String.
+ * Sets the filename extension for in place editing mode to the given String.
* Each file being edited has this value appended to its filename. The
* modified file is saved under this new name.
*