Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #1124 from kalkin/master
Fix IO::Path::absolute return type to Str
  • Loading branch information
jonathanstowe committed Jan 8, 2017
2 parents 24b5ad8 + 0012741 commit 77aa498
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/Type/IO/Path.pod6
Expand Up @@ -137,15 +137,15 @@ Returns C<True> if the path is a relative path, and C<False> otherwise.
=head2 method absolute
method absolute(IO::Path:D: $base = ~$*CWD --> IO::Path)
method absolute(IO::Path:D: $base = ~$*CWD --> Str)
Returns a new C<IO::Path> object that is an absolute path, based on C<$base>.
Returns a new C<Str> object that is an absolute path, based on C<$base>.
=head2 method relative
method relative(IO::Path:D: $base = ~$*CWD --> IO::Path)
method relative(IO::Path:D: $base = ~$*CWD --> Str)
Returns a new C<IO::Path> object relative to the C<$base> path.
Returns a new C<Str> object relative to the C<$base> path.
=head2 method parent
Expand Down

0 comments on commit 77aa498

Please sign in to comment.