Skip to content

Commit

Permalink
better description for all_contents
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 24, 2015
1 parent a3629c3 commit a5a6ee4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Mojo/DOM.pm
Expand Up @@ -432,8 +432,8 @@ L<Mojo::DOM> implements the following methods.
my $collection = $dom->all_contents;
Return a L<Mojo::Collection> object containing all nodes in DOM structure as
L<Mojo::DOM> objects.
Return a L<Mojo::Collection> object containing all descendant nodes of this
element as L<Mojo::DOM> objects.
# "<p><b>123</b></p>"
$dom->parse('<p><!-- Test --><b>123<!-- 456 --></b></p>')
Expand Down

0 comments on commit a5a6ee4

Please sign in to comment.