Skip to content

Commit

Permalink
[io grant] Document IO::Spec::Unix.updir
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Apr 30, 2017
1 parent fe489dc commit 83d5de0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions doc/Type/IO/Spec/Unix.pod6
Expand Up @@ -121,6 +121,16 @@ Defined as:
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.
=head2 method updir
Defined as:
method updir()
Returns a string representing the directory one up from current:
say '..' eq $*SPEC.updir; # OUTPUT: «True␤»
=end pod

# vim: expandtab shiftwidth=4 ft=perl6

0 comments on commit 83d5de0

Please sign in to comment.