From: Dave Rolsky Date: Fri, 25 Dec 2009 15:38:32 +0000 (-0600) Subject: Add pod to MooseX::Singleton::Role::Meta::Method::Constructor X-Git-Tag: 0.22~15 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=387bf3e0e7da14d605b8e5f7ee4909f3d15c56ee;p=gitmo%2FMooseX-Singleton.git Add pod to MooseX::Singleton::Role::Meta::Method::Constructor --- diff --git a/lib/MooseX/Singleton/Role/Meta/Method/Constructor.pm b/lib/MooseX/Singleton/Role/Meta/Method/Constructor.pm index c9a2fed..414b28a 100644 --- a/lib/MooseX/Singleton/Role/Meta/Method/Constructor.pm +++ b/lib/MooseX/Singleton/Role/Meta/Method/Constructor.pm @@ -82,3 +82,19 @@ override _expected_method_class => sub { no Moose; 1; + +__END__ + +=pod + +=head1 NAME + +MooseX::Singleton::Role::Meta::Method::Constructor - Constructor method role for MooseX::Singleton + +=head1 DESCRIPTION + +This role overrides the generated object C method so that it returns the +singleton if it already exists. + +=cut +