diff options
author | stomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-06 19:42:36 +0000 |
---|---|---|
committer | stomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-06 19:42:36 +0000 |
commit | 8188fb9a6f50a456d49347302af2cd2cdbe1e301 (patch) | |
tree | 1d251fc012531aa282f848e767c46eac702dae13 /io.c | |
parent | 74cdd893eb102ba98e735f2a24c710e1928261a9 (diff) | |
download | ruby-8188fb9a6f50a456d49347302af2cd2cdbe1e301.tar.gz |
io.c: [DOC] open mode can be an integer; fix rdoc syntax
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -7553,8 +7553,8 @@ rb_io_make_open_file(VALUE obj) * === Open Mode * * When +mode+ is an integer it must be combination of the modes defined in - * File::Constants (+File::RDONLY+, +File::WRONLY | File::CREAT+). See the - * open(2) man page for more information. + * File::Constants (+File::RDONLY+, <code>File::WRONLY|File::CREAT</code>). + * See the open(2) man page for more information. * * When +mode+ is a string it must be in one of the following forms: * @@ -9933,7 +9933,7 @@ seek_before_access(VALUE argp) * if +length+ is specified. See Encoding.aliases for possible encodings. * * :mode:: - * string + * string or integer * * Specifies the <i>mode</i> argument for open(). It must start * with an "r", otherwise it will cause an error. @@ -10108,7 +10108,7 @@ io_s_write(int argc, VALUE *argv, int binary) * See Encoding.aliases for possible encodings. * * :mode:: - * string + * string or integer * * Specifies the <i>mode</i> argument for open(). It must start * with "w", "a", or "r+", otherwise it will cause an error. |