Skip to content

Commit

Permalink
document b and c functions
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed May 10, 2012
1 parent c813d75 commit 96b605e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/Mojo/ByteStream.pm
Expand Up @@ -112,6 +112,16 @@ Mojo::ByteStream - ByteStream
L<Mojo::ByteStream> provides a more friendly API for the bytestream
manipulation functions in L<Mojo::Util>.
=head1 FUNCTIONS
L<Mojo::ByteStream> implements the following functions.
=head2 C<b>
my $stream = b('test123');
Construct a new L<Mojo::ByteStream> object.
=head1 METHODS
L<Mojo::ByteStream> implements the following methods.
Expand Down
10 changes: 10 additions & 0 deletions lib/Mojo/Collection.pm
Expand Up @@ -102,6 +102,16 @@ Mojo::Collection - Collection
L<Mojo::Collection> is a container for collections.
=head1 FUNCTIONS
L<Mojo::Collection> implements the following functions.
=head2 C<c>
my $collection = c(1, 2, 3);
Construct a new L<Mojo::Collection> object.
=head1 METHODS
L<Mojo::Collection> implements the following methods.
Expand Down

0 comments on commit 96b605e

Please sign in to comment.