From: Jesse Luehrs Date: Fri, 22 Apr 2011 23:08:37 +0000 (-0500) Subject: also document Class::MOP::Module::create X-Git-Tag: 2.0100~200 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMoose.git;a=commitdiff_plain;h=f605d4d8c5b2850574b428e1fb06c61bb06117ef also document Class::MOP::Module::create --- diff --git a/lib/Class/MOP/Module.pm b/lib/Class/MOP/Module.pm index ea1433d..077cd38 100644 --- a/lib/Class/MOP/Module.pm +++ b/lib/Class/MOP/Module.pm @@ -110,6 +110,23 @@ B is a subclass of L. =over 4 +=item B<< Class::MOP::Module->create($package, %options) >> + +Overrides C from L to provide these additional +options: + +=over 4 + +=item C + +A version number, to be installed in the C<$VERSION> package global variable. + +=item C + +An authority, to be installed in the C<$AUTHORITY> package global variable. + +=back + =item B<< $metamodule->version >> This is a read-only attribute which returns the C<$VERSION> of the diff --git a/xt/release/pod-coverage.t b/xt/release/pod-coverage.t index b066886..87504b7 100644 --- a/xt/release/pod-coverage.t +++ b/xt/release/pod-coverage.t @@ -101,7 +101,6 @@ my %trustme = ( 'Class::MOP::Mixin::AttributeCore' => ['.+'], 'Class::MOP::Mixin::HasAttributes' => ['.+'], 'Class::MOP::Mixin::HasMethods' => ['.+'], - 'Class::MOP::Module' => ['create'], 'Class::MOP::Package' => [ 'get_method_map', 'wrap_method_body' ], 'Moose::Error::Confess' => ['new'], 'Moose::Meta::Attribute' => [