From: Dan Dascalescu Date: Sat, 11 Jul 2009 03:24:24 +0000 (-0700) Subject: Minor rewording in Delegation X-Git-Tag: 0.88~23 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d76a67a8a9cf4fa39151d1657b02eb7bfc1b8886;p=gitmo%2FMoose.git Minor rewording in Delegation --- diff --git a/lib/Moose/Manual/Attributes.pod b/lib/Moose/Manual/Attributes.pod index 2bbe3f6..8dff639 100644 --- a/lib/Moose/Manual/Attributes.pod +++ b/lib/Moose/Manual/Attributes.pod @@ -458,7 +458,7 @@ set: The trigger is called as a method, and receives the new value as its argument. The trigger is called I the value is set. -This differs from an after method modifier in two ways. First, a +This differs from an C method modifier in two ways. First, a trigger is only called when the attribute is set, as opposed to whenever the accessor method is called (for reading or writing). Second, it is also called when an attribute's value is @@ -491,7 +491,7 @@ discussion of Moose's type system. =head2 Delegation -Attributes can define methods which simply delegate to their values: +An attribute can define methods which simply delegate to its value: has 'hair_color' => ( is => 'ro',