1Moose::Meta::Method::DeUlseegratCioonnt(r3i)buted Perl DMoocousmee:n:tMaettiao:n:Method::Delegation(3)
2
3
4
6 Moose::Meta::Method::Delegation - A Moose Method metaclass for
7 delegation methods
8
10 This is a subclass of Moose::Meta::Method for delegation methods.
11
13 Moose::Meta::Method::Delegation->new(%options)
14 This creates the delegation methods based on the provided %options.
15
16 attribute
17 This must be an instance of "Moose::Meta::Attribute" which this
18 accessor is being generated for. This options is required.
19
20 delegate_to_method
21 The method in the associated attribute's value to which we
22 delegate. This can be either a method name or a code reference.
23
24 curried_arguments
25 An array reference of arguments that will be prepended to the
26 argument list for any call to the delegating method.
27
28 $metamethod->associated_attribute
29 Returns the attribute associated with this method.
30
31 $metamethod->curried_arguments
32 Return any curried arguments that will be passed to the delegated
33 method.
34
35 $metamethod->delegate_to_method
36 Returns the method to which this method delegates, as passed to the
37 constructor.
38
40 See "BUGS" in Moose for details on reporting bugs.
41
43 Dave Rolsky <autarch@urth.org>
44
46 Copyright 2009 by Infinity Interactive, Inc.
47
48 <http://www.iinteractive.com>
49
50 This library is free software; you can redistribute it and/or modify it
51 under the same terms as Perl itself.
52
53
54
55perl v5.12.2 2010-08-28Moose::Meta::Method::Delegation(3)