Skip to content

Commit bd4fa68

Browse files
committed
[io grant] Document IO::Handle/IO::Pipe.IO
1 parent fd8a5ed commit bd4fa68

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

doc/Type/IO/Handle.pod6

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,10 @@ For a handle opened on a file this returns the L<IO::Path|/type/IO::Path> that
278278
represents the file. For the standard I/O handles C<$*IN>, C<$*OUT>,
279279
and C<$*ERR> it returns an L<IO::Special|/type/IO::Special> object.
280280
281+
=head2 method IO
282+
283+
Alias for L«C<.path>|/type/IO::Handle#method_path»
284+
281285
=for code :skip-test
282286
say "foo".IO.open.path; # OUTPUT: «"foo".IO␤»
283287

doc/Type/IO/Pipe.pod6

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ Pipes can be easily constructed with L<sub run and Proc.new|/type/Proc>.
2121
2222
Closes the pipe and returns L<Proc> object from which the pipe originates.
2323
24+
=head2 method IO
25+
26+
method IO(IO::Pipe: --> IO::Path:U)
27+
28+
Returns an L<IO::Path> type object.
29+
2430
=head2 method path
2531
2632
method path(IO::Pipe: --> IO::Path:U)

0 commit comments

Comments
 (0)