Skip to content

Commit 77aa498

Browse files
Merge pull request #1124 from kalkin/master
Fix IO::Path::absolute return type to Str
2 parents 24b5ad8 + 0012741 commit 77aa498

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/Type/IO/Path.pod6

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,15 +137,15 @@ Returns C<True> if the path is a relative path, and C<False> otherwise.
137137
138138
=head2 method absolute
139139
140-
method absolute(IO::Path:D: $base = ~$*CWD --> IO::Path)
140+
method absolute(IO::Path:D: $base = ~$*CWD --> Str)
141141
142-
Returns a new C<IO::Path> object that is an absolute path, based on C<$base>.
142+
Returns a new C<Str> object that is an absolute path, based on C<$base>.
143143
144144
=head2 method relative
145145
146-
method relative(IO::Path:D: $base = ~$*CWD --> IO::Path)
146+
method relative(IO::Path:D: $base = ~$*CWD --> Str)
147147
148-
Returns a new C<IO::Path> object relative to the C<$base> path.
148+
Returns a new C<Str> object relative to the C<$base> path.
149149
150150
=head2 method parent
151151

0 commit comments

Comments
 (0)