NAME
GX::Meta::Attribute::Scalar - Attribute metaclass
SYNOPSIS
None.
DESCRIPTION
This module provides the GX::Meta::Attribute::Scalar class which extends the GX::Meta::Attribute class.
METHODS
Constructor
new
Returns a new GX::Meta::Attribute::Scalar attribute metaobject.
$attribute = GX::Meta::Attribute::Scalar->new( %attributes );
- Attributes:
-
weaken
( bool )A boolean value indicating whether or not to weaken the stored attribute value. Defaults to false.
See GX::Meta::Attribute for more.
- Returns:
-
$attribute
( GX::Meta::Attribute::Scalar 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 );
defined
$bool = $invocant->accessor;
get
$value = $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.