Skip to content

Commit

Permalink
document boolean attributes consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Oct 5, 2015
1 parent 4c13e33 commit bfb3374
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/Mojo/Transaction.pm
Expand Up @@ -131,8 +131,8 @@ L<Mojo::Transaction> implements the following attributes.
=head2 kept_alive
my $kept_alive = $tx->kept_alive;
$tx = $tx->kept_alive(1);
my $bool = $tx->kept_alive;
$tx = $tx->kept_alive($bool);
Connection has been kept alive.
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Transaction/WebSocket.pm
Expand Up @@ -586,7 +586,7 @@ True, this is a L<Mojo::Transaction::WebSocket> object.
=head2 kept_alive
my $kept_alive = $ws->kept_alive;
my $bool = $ws->kept_alive;
Connection has been kept alive.
Expand Down

0 comments on commit bfb3374

Please sign in to comment.