Skip to content

Commit

Permalink
attribute value is boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Apr 8, 2014
1 parent 9192694 commit 6965939
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Mojo/Content/Single.pm
Expand Up @@ -107,11 +107,11 @@ C<auto_upgrade> enabled.
=head2 auto_upgrade
my $upgrade = $single->auto_upgrade;
$single = $single->auto_upgrade(0);
my $bool = $single->auto_upgrade;
$single = $single->auto_upgrade($bool);
Try to detect multipart content and automatically upgrade to a
L<Mojo::Content::MultiPart> object, defaults to C<1>.
L<Mojo::Content::MultiPart> object, defaults to a true value.
=head1 METHODS
Expand Down

0 comments on commit 6965939

Please sign in to comment.