NAME
GX::Meta::Attribute::String - Attribute metaclass
SYNOPSIS
None.
DESCRIPTION
This module provides the GX::Meta::Attribute::String class which extends the GX::Meta::Attribute class.
METHODS
Constructor
new
Returns a new GX::Meta::Attribute::String attribute metaobject.
$attribute = GX::Meta::Attribute::String->new( %attributes );
- Attributes:
-
default
( string )See GX::Meta::Attribute. The supplied value must be a string.
initializer
( string |CODE
reference )See GX::Meta::Attribute. The initializer must return a string.
See GX::Meta::Attribute for more.
- Returns:
-
$attribute
( GX::Meta::Attribute::String object )
- Exceptions:
Public Methods
See GX::Meta::Attribute.
USAGE
Accessor Types
This attribute class provides the following accessor types:
clear
$invocant->accessor;
default
$value = $invocant->accessor; $value = $invocant->accessor( $value );
get
$value = $invocant->accessor;
length
$length = $invocant->accessor;
set
$invocant->accessor( $value );
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.