Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
multi-line method declarations require massaging.
split into 3 separate method signatures instead of a combined
one, and give the 2-line variant help
  • Loading branch information
coke committed Mar 26, 2019
1 parent 6523fbf commit 9a95c73
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/Type/Blob.pod6
Expand Up @@ -81,8 +81,11 @@ Returns the number of bytes used by the elements in the buffer.
Defined as:
multi method decode(Blob:D: $encoding = self.encoding // "utf-8")
=for code :method
multi method decode(Blob:D: $encoding, Str :$replacement!,
Bool:D :$strict = False)
multi method decode(Blob:D: $encoding, Bool:D :$strict = False)
Applies an encoding to turn the blob into a L<Str|/type/Str>; the encoding will
Expand Down

0 comments on commit 9a95c73

Please sign in to comment.