From: Chris Prather Date: Fri, 2 May 2008 16:04:16 +0000 (+0000) Subject: fix synopsis X-Git-Tag: 0.04~20 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8055bcebda1fb858d27c347036918a25f9f7b368;p=gitmo%2FMooseX-MetaDescription.git fix synopsis --- diff --git a/lib/MooseX/MetaDescription.pm b/lib/MooseX/MetaDescription.pm index c45b6b4..a2b0b88 100644 --- a/lib/MooseX/MetaDescription.pm +++ b/lib/MooseX/MetaDescription.pm @@ -45,7 +45,7 @@ MooseX::MetaDescription - A framework for adding additional metadata to Moose cl my $bar = $foo->meta->get_attribute('bar'); # access the desciption HASH directly - $bar->description; # { baz => 'Foo::bar::baz' } + $bar->description; # { node_type => 'element' } # or access the instance of MooseX::MetaDescription::Description $bar->metadescription;