Skip to content

Commit 8d95371

Browse files
committed
[io grant] Expand IO::Handle/IO::Pipe.path docs
- Add better example - Add docs for its value in IO::Pipe, per: Impl: rakudo/rakudo@d46e8df4cb Tests: Raku/roast@637500da24
1 parent 60b9227 commit 8d95371

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/Type/IO/Handle.pod6

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -274,12 +274,12 @@ mode.
274274
275275
=head2 method path
276276
277-
For a handle opened on a file this returns the L<IO::Path|/type/IO::Path> that represents
278-
the file. For the standard I/O handles C<$*IN>, C<$*OUT> and C<$*ERR> it returns a
279-
L<IO::Special|/type/IO::Special> object.
277+
For a handle opened on a file this returns the L<IO::Path|/type/IO::Path> that
278+
represents the file. For the standard I/O handles C<$*IN>, C<$*OUT>,
279+
and C<$*ERR> it returns an L<IO::Special|/type/IO::Special> object.
280280
281281
=for code :skip-test
282-
$fh.path;
282+
say "foo".IO.open.path; # OUTPUT: «"foo".IO␤»
283283
284284
=head2 method close
285285

0 commit comments

Comments
 (0)