Skip to content

Commit

Permalink
Added docs for Baggy.default
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan-Olof Hendig committed Jun 18, 2016
1 parent 29c0955 commit d3dc9f7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions doc/Type/Baggy.pod
Expand Up @@ -237,6 +237,17 @@ object.
my $n = ("a" => 5, "b" => 1, "b" => 2).BagHash;
say $n.total; # 8
=head2 method default
Defined as:
method default(Baggy:D:) returns Int:D
Returns zero.
my $breakfast = bag <eggs bacon>;
say $breakfast.default; # 0
=head2 method ACCEPTS
=comment TODO
Expand Down

0 comments on commit d3dc9f7

Please sign in to comment.