X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FMeta%2FAttribute%2FNative%2FTrait%2FCode.pm;h=a67f1c5466db51260f05f0d88ca27c9eb4864f8a;hb=d4dc38edf420ab01de3f0be754d61aeb0e54bb43;hp=997dea8b50b08c5a8d10bad2e5dfcb738fd4fcf4;hpb=eaf5a43ef108f6a9dce74c84afc25a892cffdfb1;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 997dea8..a67f1c5 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.90'; +our $VERSION = '1.14'; $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