Commits

Toby Inkster committed e4460eb

clarify that the status attribute is nothing special; just an example

Comments (0)

Files changed (1)

lib/MooseX/NiftyDelegation.pm

 
 Kinda ugly though. The C<MooseX::NiftyDelegation::Trait::Attribute> trait
 pretties it up a little by automatically wrapping the coderef with a little
-gubbin that sets C<< $_ >> to C<< $self->status >>. Thus:
+gubbin that sets C<< $_ >> to C<< $self->$attribute >>. Thus:
 
    has status => (
       is       => 'rw',