| Moose documentation | view source | Contained in the Moose distribution. |
Moose::Meta::Method::Augmented - A Moose Method metaclass for augmented methods
This class implements method augmentation logic for the Moose
augment keyword.
The augmentation subroutine reference will be invoked explicitly using
the inner keyword from the parent class's method definition.
Moose::Meta::Method::Augmented is a subclass of Moose::Meta::Method.
This constructs a new object. It accepts the following options:
The metaclass object for the class in which the augmentation is being declared. This option is required.
The name of the method which we are augmenting. This method must exist in one of the class's superclasses. This option is required.
The subroutine reference which implements the augmentation. This option is required.
See BUGS in Moose for details on reporting bugs.
Yuval Kogman <nothingmuch@cpan.org>
Copyright 2006-2010 by Infinity Interactive, Inc.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Moose documentation | view source | Contained in the Moose distribution. |