From: Hans Dieter Pearcey Date: Thu, 25 Jun 2009 20:42:25 +0000 (-0400) Subject: s/provides/handles/ in method names X-Git-Tag: 0.89_02~130 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=25d868881de8dc8992be6a01033e41354d9ebc0f;p=gitmo%2FMoose.git s/provides/handles/ in method names --- diff --git a/lib/Moose/AttributeHelpers/Bool.pm b/lib/Moose/AttributeHelpers/Bool.pm index 0212ec1..0ca690b 100644 --- a/lib/Moose/AttributeHelpers/Bool.pm +++ b/lib/Moose/AttributeHelpers/Bool.pm @@ -37,11 +37,11 @@ Moose::AttributeHelpers::Bool =item B -=item B +=item B Run before its superclass method. -=item B +=item B Run after its superclass method. diff --git a/lib/Moose/AttributeHelpers/Collection/Bag.pm b/lib/Moose/AttributeHelpers/Collection/Bag.pm index b52f9c0..af8606d 100644 --- a/lib/Moose/AttributeHelpers/Collection/Bag.pm +++ b/lib/Moose/AttributeHelpers/Collection/Bag.pm @@ -63,7 +63,7 @@ for more details. =item B -=item B +=item B =back diff --git a/lib/Moose/AttributeHelpers/Counter.pm b/lib/Moose/AttributeHelpers/Counter.pm index fb47f2e..2ed8300 100644 --- a/lib/Moose/AttributeHelpers/Counter.pm +++ b/lib/Moose/AttributeHelpers/Counter.pm @@ -38,11 +38,11 @@ Moose::AttributeHelpers::Counter =item B -=item B +=item B Run before its superclass method. -=item B +=item B Run after its superclass method. diff --git a/lib/Moose/AttributeHelpers/String.pm b/lib/Moose/AttributeHelpers/String.pm index 7c2da73..1a0bc63 100644 --- a/lib/Moose/AttributeHelpers/String.pm +++ b/lib/Moose/AttributeHelpers/String.pm @@ -73,11 +73,11 @@ above. This allows for a very basic counter definition: =item B -=item B +=item B Run before its superclass method. -=item B +=item B Run after its superclass method. diff --git a/lib/Moose/AttributeHelpers/Trait/Bool.pm b/lib/Moose/AttributeHelpers/Trait/Bool.pm index b8071e0..79c0299 100644 --- a/lib/Moose/AttributeHelpers/Trait/Bool.pm +++ b/lib/Moose/AttributeHelpers/Trait/Bool.pm @@ -23,7 +23,7 @@ has 'method_provider' => ( default => 'Moose::AttributeHelpers::MethodProvider::Bool' ); -before 'process_options_for_provides' => sub { +before 'process_options_for_handles' => sub { my ($self, $options, $name) = @_; # Set some default attribute options here unless already defined diff --git a/lib/Moose/AttributeHelpers/Trait/Collection.pm b/lib/Moose/AttributeHelpers/Trait/Collection.pm index 701fdd3..c734c68 100644 --- a/lib/Moose/AttributeHelpers/Trait/Collection.pm +++ b/lib/Moose/AttributeHelpers/Trait/Collection.pm @@ -36,7 +36,7 @@ Documentation to come. =item B -=item B +=item B =back diff --git a/lib/Moose/AttributeHelpers/Trait/Collection/Bag.pm b/lib/Moose/AttributeHelpers/Trait/Collection/Bag.pm index 5cd36c7..2501653 100644 --- a/lib/Moose/AttributeHelpers/Trait/Collection/Bag.pm +++ b/lib/Moose/AttributeHelpers/Trait/Collection/Bag.pm @@ -22,7 +22,7 @@ subtype 'Bag' => as 'HashRef[Int]'; sub helper_type { 'Bag' } -before 'process_options_for_provides' => sub { +before 'process_options_for_handles' => sub { my ($self, $options, $name) = @_; # Set some default attribute options here unless already defined @@ -90,7 +90,7 @@ for more details. =item B -=item B +=item B =back diff --git a/lib/Moose/AttributeHelpers/Trait/Counter.pm b/lib/Moose/AttributeHelpers/Trait/Counter.pm index 73712a9..f4aba28 100644 --- a/lib/Moose/AttributeHelpers/Trait/Counter.pm +++ b/lib/Moose/AttributeHelpers/Trait/Counter.pm @@ -19,7 +19,7 @@ has 'method_provider' => ( sub helper_type { 'Num' } -before 'process_options_for_provides' => sub { +before 'process_options_for_handles' => sub { my ($self, $options, $name) = @_; # Set some default attribute options here unless already defined @@ -31,7 +31,7 @@ before 'process_options_for_provides' => sub { $options->{default} = 0 unless exists $options->{default}; }; -after 'check_provides_values' => sub { +after 'check_handles_values' => sub { my $self = shift; my $provides = $self->provides; @@ -109,11 +109,11 @@ above. This allows for a very basic counter definition: =item B -=item B +=item B Run before its superclass method. -=item B +=item B Run after its superclass method. diff --git a/lib/Moose/AttributeHelpers/Trait/String.pm b/lib/Moose/AttributeHelpers/Trait/String.pm index fe721ae..8a70509 100644 --- a/lib/Moose/AttributeHelpers/Trait/String.pm +++ b/lib/Moose/AttributeHelpers/Trait/String.pm @@ -19,7 +19,7 @@ has 'method_provider' => ( sub helper_type { 'Str' } -before 'process_options_for_provides' => sub { +before 'process_options_for_handles' => sub { my ($self, $options, $name) = @_; # Set some default attribute options here unless already defined @@ -31,7 +31,7 @@ before 'process_options_for_provides' => sub { $options->{default} = '' unless exists $options->{default}; }; -after 'check_provides_values' => sub { +after 'check_handles_values' => sub { my $self = shift; my $provides = $self->provides; @@ -109,11 +109,11 @@ above. This allows for a very basic counter definition: =item B -=item B +=item B Run before its superclass method. -=item B +=item B Run after its superclass method.