Skip to content

Commit

Permalink
documentation tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Mar 10, 2013
1 parent 49a8e86 commit 436144c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/Mojo/URL.pm
Expand Up @@ -364,7 +364,7 @@ Parse URL.
$url = $url->path('foo/bar');
$url = $url->path(Mojo::Path->new);
Path part of this URL, relative paths will be appended to the existing path,
Path part of this URL, relative paths will be merged with the existing path,
defaults to a L<Mojo::Path> object.
# "http://mojolicio.us/DOM/HTML"
Expand Down Expand Up @@ -393,7 +393,8 @@ Normalized version of C<scheme>.
$url = $url->query({append => 'to'});
$url = $url->query(Mojo::Parameters->new);
Query part of this URL, defaults to a L<Mojo::Parameters> object.
Query part of this URL, pairs in an array will be merged and pairs in a hash
appended, defaults to a L<Mojo::Parameters> object.
# "2"
Mojo::URL->new('http://mojolicio.us?a=1&b=2')->query->param('b');
Expand Down

0 comments on commit 436144c

Please sign in to comment.