X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FMeta%2FAttribute%2FNative%2FTrait%2FCode.pm;h=5767048be5429d2c9b6ffedc2a300fc6b45b068d;hb=55d05fb16429c2150b5337b1a0130ae334e129d0;hp=2ea8d82175550efe7ae69fb877763c7f50d9b008;hpb=7a10df4daf77f0efcf873693e0868b845387430d;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 2ea8d82..5767048 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_03'; +our $VERSION = '1.12'; $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