From d61a4cec618b8f5554398fff2ee4656763aeec4e Mon Sep 17 00:00:00 2001 From: zverok Date: Wed, 21 Dec 2022 22:33:48 +0200 Subject: [PATCH] Docs: path: option for IO.new --- io.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/io.c b/io.c index ffca78ac2b..2e51a46635 100644 --- a/io.c +++ b/io.c @@ -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.