From: Patrick Donelan Date: Wed, 6 Jan 2010 08:01:48 +0000 (+1100) Subject: Minor POD improvements X-Git-Tag: 0.94~10 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=76127c7743f5fa40acf0a9f34f393cdaa453f5f1;p=gitmo%2FMoose.git Minor POD improvements * POD Typo in TypeConstraint.pm * Typo in Types.pod * Synchronises 'break' example in Concepts.pod with Roles.pod * Typo in Attributes.pod * Added repo URIs to Contributing.pod --- diff --git a/lib/Moose/Manual/Attributes.pod b/lib/Moose/Manual/Attributes.pod index 9381a69..0b47735 100644 --- a/lib/Moose/Manual/Attributes.pod +++ b/lib/Moose/Manual/Attributes.pod @@ -619,7 +619,7 @@ of an inherited attribute. =head1 MULTIPLE ATTRIBUTE SHORTCUTS -If you have a number of attributes that differ only be name, you can declare +If you have a number of attributes that differ only by name, you can declare them all at once: package Point; diff --git a/lib/Moose/Manual/Concepts.pod b/lib/Moose/Manual/Concepts.pod index 86ad7d4..3736ab4 100644 --- a/lib/Moose/Manual/Concepts.pod +++ b/lib/Moose/Manual/Concepts.pod @@ -135,14 +135,14 @@ Role are somewhat like mixins or interfaces in other OO languages. use Moose::Role; - has is_broken => ( + requires 'break'; + + has 'is_broken' => ( is => 'rw', isa => 'Bool', ); - requires 'break'; - - before 'break' => { + after 'break' => sub { my $self = shift; $self->is_broken(1); diff --git a/lib/Moose/Manual/Contributing.pod b/lib/Moose/Manual/Contributing.pod index 2b2db45..4286a82 100644 --- a/lib/Moose/Manual/Contributing.pod +++ b/lib/Moose/Manual/Contributing.pod @@ -49,6 +49,20 @@ If you have commit access, you can create a topic on the main Moose.git, otherwise either give us your SSH key or create your own clone of the L repository or fork of the GitHub mirror. +The relevant repository URIs are: + +=over + +=item Read-Only + +L + +=item Read+Write + +L + +=back + =item Core Committers - people reviewing and merging a branch These people have worked with the Moose codebase for a while. diff --git a/lib/Moose/Manual/Types.pod b/lib/Moose/Manual/Types.pod index 16202d0..e6cbce9 100644 --- a/lib/Moose/Manual/Types.pod +++ b/lib/Moose/Manual/Types.pod @@ -68,7 +68,7 @@ In particular: =item C accepts anything that perl thinks looks like a number (see L). -=item C and C accept strings that are either a the name of a class or the name of a role. The class/role must be loaded beforehand for this to succeed. +=item C and C accept strings that are either the name of a class or the name of a role. The class/role must be loaded beforehand for this to succeed. =item C accepts either an object of type L or a builtin perl filehandle (see L). diff --git a/lib/Moose/Meta/TypeConstraint.pm b/lib/Moose/Meta/TypeConstraint.pm index 1b3196c..a7187cc 100644 --- a/lib/Moose/Meta/TypeConstraint.pm +++ b/lib/Moose/Meta/TypeConstraint.pm @@ -311,7 +311,7 @@ Moose::Meta::TypeConstraint - The Moose Type Constraint metaclass =head1 DESCRIPTION This class represents a single type constraint. Moose's built-in type -constraints, as well as constraints you define, are all store in a +constraints, as well as constraints you define, are all stored in a L object as objects of this class.