From: gfx Date: Wed, 9 Dec 2009 12:48:15 +0000 (+0900) Subject: Add coerce() to the function list X-Git-Tag: 0.44~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=commitdiff_plain;h=87f1f3d2110a14bb0bb9366c476505982afe95bd Add coerce() to the function list --- diff --git a/lib/Mouse/Util/TypeConstraints.pm b/lib/Mouse/Util/TypeConstraints.pm index f6d7aaf..a3645e1 100644 --- a/lib/Mouse/Util/TypeConstraints.pm +++ b/lib/Mouse/Util/TypeConstraints.pm @@ -557,6 +557,8 @@ Returns the names of all the type constraints. =item C<< enum (\@values) -> Mouse::Meta::TypeConstraint >> +=item C<< coerce $type => from $another_type, via { }, ... >> + =back =over 4