[Moose-commits] r7484 - Moose/trunk/lib/Moose/Manual

autarch at code2.0beta.co.uk autarch at code2.0beta.co.uk
Tue Feb 3 15:49:00 GMT 2009


Author: autarch
Date: 2009-02-03 07:49:00 -0800 (Tue, 03 Feb 2009)
New Revision: 7484

Modified:
   Moose/trunk/lib/Moose/Manual/MooseX.pod
Log:
Mention MetaDescription


Modified: Moose/trunk/lib/Moose/Manual/MooseX.pod
===================================================================
--- Moose/trunk/lib/Moose/Manual/MooseX.pod	2009-02-03 15:33:48 UTC (rev 7483)
+++ Moose/trunk/lib/Moose/Manual/MooseX.pod	2009-02-03 15:49:00 UTC (rev 7484)
@@ -139,6 +139,20 @@
 
 It's that simple.
 
+=head1 MooseX::MetaDescription
+
+This module lets you attach an arbitrary hash reference of metadata to
+an attribute.
+
+  has 'image_name' => (
+      metaclass   => 'MooseX::MetaDescription::Meta::Attribute',
+      is          => 'ro',
+      isa         => 'Str',
+      description => {
+          html_display => 'Image',
+      }
+  );
+
 =head1 EXTENSIONS TO CONSIDER
 
 There are literally dozens of other extensions on CPAN. These are a




More information about the Moose-commits mailing list