diff options
author | zverok <zverok.offline@gmail.com> | 2022-12-21 22:33:48 +0200 |
---|---|---|
committer | Victor Shepelev <zverok.offline@gmail.com> | 2022-12-23 18:09:49 +0200 |
commit | d61a4cec618b8f5554398fff2ee4656763aeec4e (patch) | |
tree | 6ebe997703527dfdacb069f27d529cfcf3e5d315 /io.c | |
parent | c621c6140ad8ace766e616f593f530041d860a23 (diff) |
Docs: path: option for IO.new
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6985
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -14777,6 +14777,8 @@ set_LAST_READ_LINE(VALUE val, ID _x, VALUE *_y) * - +:binmode+: If a truthy value, specifies the mode as binary, text-only otherwise. * - +:autoclose+: If a truthy value, specifies that the +fd+ will close * when the stream closes; otherwise it remains open. + * - +:path:+ If a string value is provided, it is used in #inspect and is available as + * #path method. * * Also available are the options offered in String#encode, * which may control conversion between external internal encoding. |