Skip to content

Commit a4012e0

Browse files
committed
1 parent e0645be commit a4012e0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/Type/IO/Handle.pod6

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,21 @@ should close the handles explicitly as well, regardless of whether they were
8585
open for writing, since too many files might get opened before garbage
8686
collection happens and the no longer used handles get closed.
8787
88+
=head method gist
89+
90+
Defined as:
91+
92+
method gist(IO::Handle:D: --> Str:D)
93+
94+
Returns a string containing information which
95+
L«C<.path>|/type/IO::Handle#method_path», if any, the handle is created for
96+
and whether it is L«C<.opened>|/type/IO::Handle#method_opened».
97+
98+
=begin code :skip-test
99+
say IO::Handle.new; # IO::Handle<(Any)>(closed)
100+
say "foo".IO.open; # IO::Handle<"foo".IO>(opened)
101+
=end code
102+
88103
=head2 method eof
89104
90105
Defined as:

0 commit comments

Comments
 (0)