Skip to content

Commit 83d5de0

Browse files
committed
[io grant] Document IO::Spec::Unix.updir
1 parent fe489dc commit 83d5de0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/Type/IO/Spec/Unix.pod6

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,16 @@ Defined as:
121121
122122
Attempts to locate a system's temporary directory by checking several typical directories and environmental variables. Uses current directory if no suitable directories are found.
123123
124+
=head2 method updir
125+
126+
Defined as:
127+
128+
method updir()
129+
130+
Returns a string representing the directory one up from current:
131+
132+
say '..' eq $*SPEC.updir; # OUTPUT: «True␤»
133+
124134
=end pod
125135

126136
# vim: expandtab shiftwidth=4 ft=perl6

0 commit comments

Comments
 (0)