The Role type simply checks if $object->can('does')
authorDave Rolsky <autarch@urth.org>
Thu, 25 Jun 2009 17:34:58 +0000 (12:34 -0500)
committerDave Rolsky <autarch@urth.org>
Thu, 25 Jun 2009 17:45:21 +0000 (12:45 -0500)
commit25e176ebb81dbb3a3c22b8a6382f8d04109fa13f
treef64e88d5be9daabc9fcaf2547d327277a8c1aa6c
parentfcb5b0cd3e89d0c91ab95ed9dd0a9bc8d8b04316
The Role type simply checks if $object->can('does')
lib/Moose/Util/TypeConstraints.pm