NAME
GX::Meta::Delegator - Delegator metaclass
SYNOPSIS
None.
DESCRIPTION
This module provides the GX::Meta::Delegator class.
METHODS
Constructor
new
Returns a new GX::Meta::Delegator metaobject.
$delegator = GX::Meta::Delegator->new( %attributes );
- Attributes:
-
attribute
( GX::Meta::Attribute object ) [ required ]The associated attribute metaobject.
code
(CODE
reference ) [ required ]A reference to the delegator subroutine.
name
( string ) [ required ]The name of the delegator method.
- Returns:
-
$delegator
( GX::Meta::Delegator object )
- Exceptions:
Public Methods
attribute
Returns the associated attribute metaobject.
$attribute = $delegator->attribute;
- Returns:
-
$attribute
( GX::Meta::Attribute object )
code
Returns a reference to the delegator subroutine.
$code = $delegator->code;
name
Returns the name of the delegator method.
$name = $delegator->name;
SEE ALSO
AUTHOR
Jörg A. Uzarek <uzarek@runlevelnull.de>
COPYRIGHT AND LICENSE
Copyright (c) 2009-2011 Jörg A. Uzarek.
This module is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License Version 3 as published by the Free Software Foundation.