changes-and-comments
[gitmo/Moose.git] / lib / Moose / Util / TypeConstraints.pm
index 5c3cd69..68ed3ee 100644 (file)
@@ -178,6 +178,8 @@ Moose::Util::TypeConstraints - Type constraint system for Moose
   coerce Num 
       => from Str
         => via { 0+$_ }; 
+        
+  enum RGBColors => qw(red green blue);
 
 =head1 DESCRIPTION