Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
tweaked accessor description some more
  • Loading branch information
kraih committed Aug 29, 2012
1 parent b7b68d5 commit 73a3542
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Mojo/Base.pm
Expand Up @@ -209,8 +209,8 @@ pass it either a hash or a hash reference with attribute values.
BaseSubClass->attr([qw(name1 name2 name3)] => 'foo');
BaseSubClass->attr([qw(name1 name2 name3)] => sub {...});
Create attribute accessor for hash-based objects. An array reference can be
used to create more than one attribute. Pass an optional second argument to
Create attribute accessor for hash-based objects, an array reference can be
used to create more than one at a time. Pass an optional second argument to
set a default value, it should be a constant or a callback. The callback will
be excuted at accessor read time if there's no set value. Accessors can be
chained, that means they return their invocant when they are called with an
Expand Down

0 comments on commit 73a3542

Please sign in to comment.