From: Chris Prather Date: Sun, 9 Aug 2009 20:52:07 +0000 (-0400) Subject: update String documentation X-Git-Tag: 0.89_02~73 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=79b647c686e18c1bf98ad655c8eb7bff9560aa52;p=gitmo%2FMoose.git update String documentation --- diff --git a/lib/Moose/Meta/Attribute/Native/MethodProvider/String.pm b/lib/Moose/Meta/Attribute/Native/MethodProvider/String.pm index c8e2372..080b98b 100644 --- a/lib/Moose/Meta/Attribute/Native/MethodProvider/String.pm +++ b/lib/Moose/Meta/Attribute/Native/MethodProvider/String.pm @@ -1,4 +1,3 @@ - package Moose::Meta::Attribute::Native::MethodProvider::String; use Moose::Role; @@ -117,7 +116,8 @@ Moose::Meta::Attribute::Native::MethodProvider::String =head1 DESCRIPTION This is a role which provides the method generators for -L. +L. Please check there for +documentation on what methods are provided. =head1 METHODS @@ -127,32 +127,6 @@ L. =back -=head1 PROVIDED METHODS - -=over 4 - -=item B - -=item B - -=item B - -=item B - -=item B - -=item B - -=item B - -=item B - -=item B - -=item B - -=back - =head1 BUGS All complex software has bugs lurking in it, and this module is no diff --git a/lib/Moose/Meta/Attribute/Native/Trait/String.pm b/lib/Moose/Meta/Attribute/Native/Trait/String.pm index 47f1f8c..19d568a 100644 --- a/lib/Moose/Meta/Attribute/Native/Trait/String.pm +++ b/lib/Moose/Meta/Attribute/Native/Trait/String.pm @@ -1,4 +1,3 @@ - package Moose::Meta::Attribute::Native::Trait::String; use Moose::Role; @@ -82,22 +81,12 @@ above. This allows for a very basic counter definition: has 'foo' => (metaclass => 'String'); $obj->append_foo; -=head1 METHODS - -=over 4 - -=item B - -=item B - -=item B - -=back - =head1 PROVIDED METHODS -It is important to note that all those methods do in place -modification of the value stored in the attribute. +These methods are implemented in +L. It is important to +note that all those methods do in place modification of the value stored in +the attribute. =over 4 @@ -140,6 +129,18 @@ Sets the string to the empty string (not the value passed to C). =back +=head1 METHODS + +=over 4 + +=item B + +=item B + +=item B + +=back + =head1 BUGS All complex software has bugs lurking in it, and this module is no