X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FMeta%2FAttribute%2FNative%2FTrait%2FCode.pm;h=38629b2c9f7ff34a49c2f14ee626d4af4f2529c5;hb=ae7820b1b884344a7ee90d94b484ca46459eb7b1;hp=b993ee168343cb2351b513dbb1dd74886005a89d;hpb=6d0815b59db07f71cdbfd978ed6f574e57e2b3ea;p=gitmo%2FMoose.git diff --git a/lib/Moose/Meta/Attribute/Native/Trait/Code.pm b/lib/Moose/Meta/Attribute/Native/Trait/Code.pm index b993ee1..38629b2 100644 --- a/lib/Moose/Meta/Attribute/Native/Trait/Code.pm +++ b/lib/Moose/Meta/Attribute/Native/Trait/Code.pm @@ -2,7 +2,7 @@ package Moose::Meta::Attribute::Native::Trait::Code; use Moose::Role; use Moose::Meta::Attribute::Native::MethodProvider::Code; -our $VERSION = '0.93'; +our $VERSION = '1.06'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; @@ -15,7 +15,6 @@ has method_provider => ( default => 'Moose::Meta::Attribute::Native::MethodProvider::Code', ); -sub _default_is { 'ro' } sub _helper_type { 'CodeRef' } no Moose::Role; @@ -26,7 +25,7 @@ no Moose::Role; =head1 NAME -Moose::Meta::Attribute::Native::Trait::Code +Moose::Meta::Attribute::Native::Trait::Code - Helper trait for Code attributes =head1 SYNOPSIS @@ -59,6 +58,10 @@ This provides operations on coderef attributes. Calls the coderef with the given args. +=item B + +Calls the coderef with the the instance as invocant and given args. + =back =head1 METHODS @@ -75,9 +78,7 @@ Calls the coderef with the given args. =head1 BUGS -All complex software has bugs lurking in it, and this module is no -exception. If you find a bug please either email me, or add the bug -to cpan-RT. +See L for details on reporting bugs. =head1 AUTHOR