aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-14 02:52:14 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-14 02:52:14 +0000
commitc26df684d0193ac09e0ed4393cd0097654ca00b3 (patch)
treebfdd943ca353ca3c29be13bc4641b6e94add469e /io.c
parentbf308ac3e9959f577154a5dc40147b73848f5223 (diff)
downloadruby-c26df684d0193ac09e0ed4393cd0097654ca00b3.tar.gz
* enum.c: fix a typo in documentation.
[ci skip][fix GH-1140] Patch by @jutaz * io.c: ditto. * iseq.c: ditto. * numeric.c: ditto. * process.c: ditto. * string.c: ditto. * vm_trace.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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.
*