X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FAttributeHelpers%2FCounter.pm;h=38d98751e03bcbca082ab86c685d2183be3f1db8;hb=refs%2Ftags%2F0.17;hp=9f5b13d527ab1d8df6e7e6386eaea625fdbab304;hpb=0f31cc28d3f47fac6ba2509868ff311e9cf4d11a;p=gitmo%2FMooseX-AttributeHelpers.git diff --git a/lib/MooseX/AttributeHelpers/Counter.pm b/lib/MooseX/AttributeHelpers/Counter.pm index 9f5b13d..38d9875 100644 --- a/lib/MooseX/AttributeHelpers/Counter.pm +++ b/lib/MooseX/AttributeHelpers/Counter.pm @@ -2,7 +2,8 @@ package MooseX::AttributeHelpers::Counter; use Moose; -our $VERSION = '0.03'; +our $VERSION = '0.17'; +$VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; use MooseX::AttributeHelpers::MethodProvider::Counter; @@ -122,17 +123,23 @@ modification of the value stored in the attribute. =over 4 +=item I + +Set the counter to the specified value. + =item I -Increments the value stored in this slot by 1. +Increments the value stored in this slot by 1. Providing an argument will +cause the counter to be increased by specified amount. =item I -Decrements the value stored in this slot by 1. +Decrements the value stored in this slot by 1. Providing an argument will +cause the counter to be increased by specified amount. =item I -Resets the value stored in this slot to it's default value. +Resets the value stored in this slot to it's default value. =back @@ -148,7 +155,7 @@ Stevan Little Estevan@iinteractive.comE =head1 COPYRIGHT AND LICENSE -Copyright 2007 by Infinity Interactive, Inc. +Copyright 2007-2008 by Infinity Interactive, Inc. L